Sha256: 3dacb9a74cea3e8006ed550eadf5db936eea8e7b522c6a229b10925ed805e9e1
Contents?: true
Size: 837 Bytes
Versions: 43
Compression:
Stored size: 837 Bytes
Contents
# Image Component # ================ # # V3 # ----- # # { # image: { # id: undefined, # name: '' # }, # searchable_alt: '', # searchable_caption: '' # } # module Promethee::StructureUpgrader::Components class Image < Base def upgraded_attributes { 'image' => { 'searchable' => false, 'translatable' => false, 'type' => 'blob', value: attribute('image') }, 'alt' => { 'searchable' => true, 'translatable' => true, 'type' => 'string', 'value' => string_attribute('searchable_alt') }, 'caption' => { 'searchable' => true, 'translatable' => true, 'type' => 'string', 'value' => string_attribute('searchable_caption') } } end end end
Version data entries
43 entries across 43 versions & 1 rubygems