Class: Spree::PageSections::TaxonBanner

Inherits:
Spree::PageSection show all
Defined in:
app/models/spree/page_sections/taxon_banner.rb

Constant Summary collapse

TOP_PADDING_DEFAULT =
20
BOTTOM_PADDING_DEFAULT =
20
TOP_BORDER_WIDTH_DEFAULT =
0
BOTTOM_BORDER_WIDTH_DEFAULT =
1

Constants inherited from Spree::PageSection

Spree::PageSection::BACKGROUND_COLOR_DEFAULT, Spree::PageSection::BORDER_COLOR_DEFAULT, Spree::PageSection::TEXT_COLOR_DEFAULT

Instance Attribute Summary

Attributes inherited from Spree::PageSection

#default_blocks

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Spree::PageSection

#available_blocks_to_add, #blocks_available?, #can_be_deleted?, #can_be_sorted?, #can_sort_blocks?, #copy_rich_text_fields_from, #deep_clone, #deep_clone_links, #display_name, #dup, #lazy?, #lazy_path, #restore_design_settings_to_defaults, #rich_text_fields, #role, #theme, #to_partial_path

Class Method Details

.roleObject



13
14
15
# File 'app/models/spree/page_sections/taxon_banner.rb', line 13

def self.role
  'system'
end

Instance Method Details

#icon_nameObject



9
10
11
# File 'app/models/spree/page_sections/taxon_banner.rb', line 9

def icon_name
  'heading'
end