Sha256: 05945287b255545fc4975fa1dd28b0014d6159a048d1ed9d9d308b5baf87ac35

Contents?: true

Size: 394 Bytes

Versions: 27

Compression:

Stored size: 394 Bytes

Contents

module Pageflow
  class BuiltInPageTypesPlugin < Plugin
    def configure(config)
      config.for_entry_type(PageflowPaged.entry_type) do |entry_type_config|
        entry_type_config.page_types.register(BuiltInPageType.plain)
        entry_type_config.page_types.register(BuiltInPageType.video)
        entry_type_config.page_types.register(BuiltInPageType.audio)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pageflow-17.0.4 lib/pageflow/built_in_page_types_plugin.rb
pageflow-17.0.3 lib/pageflow/built_in_page_types_plugin.rb
pageflow-17.0.2 lib/pageflow/built_in_page_types_plugin.rb
pageflow-17.0.1 lib/pageflow/built_in_page_types_plugin.rb
pageflow-17.0.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-16.2.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-16.1.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-16.0.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.8.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.7.1 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.7.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.6.1 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.6.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.5.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.4.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.3.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.2.2 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.2.1 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.2.0 lib/pageflow/built_in_page_types_plugin.rb
pageflow-15.1.2 lib/pageflow/built_in_page_types_plugin.rb