Module: Pageflow::CommonEntrySeedHelper Private
- Included in:
- EntryJsonSeedHelper
- Defined in:
- app/helpers/pageflow/common_entry_seed_helper.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Seed data that is used for published entires as well as editor display.
Defined Under Namespace
Classes: PageTypesSeed
Instance Method Summary collapse
Instance Method Details
#common_entry_seed(entry) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 10 11 12 |
# File 'app/helpers/pageflow/common_entry_seed_helper.rb', line 7 def common_entry_seed(entry) { locale: entry.locale, page_types: PageTypesSeed.new(entry, Pageflow.config_for(entry)).as_json } end |