Class: Spree::PageBlocks::Image
- Inherits:
-
Spree::PageBlock
- Object
- Spree::PageBlock
- Spree::PageBlocks::Image
- Includes:
- HasImageAltText
- Defined in:
- app/models/spree/page_blocks/image.rb
Constant Summary collapse
- TOP_PADDING_DEFAULT =
20- BOTTOM_PADDING_DEFAULT =
20
Constants inherited from Spree::PageBlock
Spree::PageBlock::CONTAINER_ALIGNMENT_DEFAULT, Spree::PageBlock::SIZE_DEFAULT, Spree::PageBlock::TEXT_ALIGNMENT_DEFAULT, Spree::PageBlock::WIDTH_DESKTOP_DEFAULT
Instance Method Summary collapse
Methods included from HasImageAltText
Methods inherited from Spree::PageBlock
#display_name, #form_partial_name
Instance Method Details
#icon_name ⇒ Object
15 16 17 |
# File 'app/models/spree/page_blocks/image.rb', line 15 def icon_name 'photo' end |