Sha256: 5d884787d7ae7ab55269e05ecb02e435e546049fc78bc798aa617105c27463ac
Contents?: true
Size: 765 Bytes
Versions: 13
Compression:
Stored size: 765 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences module ContentBlocks class RegistryManager def self.register! Decidim.content_blocks.register(:homepage, :highlighted_conferences) do |content_block| content_block.cell = "decidim/conferences/content_blocks/highlighted_conferences" content_block.public_name_key = "decidim.conferences.content_blocks.highlighted_conferences.name" content_block.settings_form_cell = "decidim/conferences/content_blocks/highlighted_conferences_settings_form" content_block.settings do |settings| settings.attribute :max_results, type: :integer, default: 6 end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems