Module: Hyrax::ContentBlockBehavior
- Extended by:
- ActiveSupport::Concern
- Included in:
- ContentBlock
- Defined in:
- app/models/concerns/hyrax/content_block_behavior.rb
Constant Summary collapse
- MARKETING =
'marketing_text'.freeze
- RESEARCHER =
'featured_researcher'.freeze
- ANNOUNCEMENT =
'announcement_text'.freeze
Instance Method Summary collapse
Instance Method Details
#external_key_name ⇒ Object
9 10 11 |
# File 'app/models/concerns/hyrax/content_block_behavior.rb', line 9 def external_key_name self.class.external_keys.fetch(name) { 'External Key' } end |