app/helpers/admin/taggable_content_helper.rb
def taggable_alternative_format_providers_container
    Rails.cache.fetch(taggable_alternative_format_providers_cache_digest, expires_in: 1.day) do
      Organisation.alphabetical.map do |o|
        ["#{o.name} (#{o.alternative_format_contact_email.presence || '-'})", o.id]
      end
    end
  end
# Returns an Array that represents the taggable alternative format providers.
# Each element of the array consists of two values: the label (organisation
# and the email address if avaiable) and the ID of the organisation.
Returns an Array that represents the taggable alternative format providers.
Each element of the array consists of two values: the label (organisation
and the email address if avaiable) and the ID of the organisation.
Returns an Array that represents the taggable alternative format providers . Each element of the array consists of two values : the label ( organisation and the email address if avaiable ) and the ID of the organisation .
def taggable_alternative_format_providers_container
    Rails.cache.fetch(taggable_alternative_format_providers_cache_digest, expires_in: 1.day) do
      Organisation.alphabetical.map do |o|
        ["#{o.name} (#{o.alternative_format_contact_email.presence || '-'})", o.id]
      end
    end
  end
def taggable_alternative_format_providers_container Rails . cache . fetch ( taggable_alternative_format_providers_cache_digest , expires_in : 1 . day ) do Organisation . alphabetical . map do | o | [ "#{o.name} (#{o.alternative_format_contact_email.presence || '-'})" , o . id ] end end end
Returns an Array that represents the taggable alternative format providers.
Returns an Array that represents the taggable alternative format providers .