Name: drupal-paragraph
Owner: Makina Corpus
Description: Paragraph field type for Drupal 7
Created: 2014-02-04 12:32:26.0
Updated: 2015-11-18 00:43:32.0
Pushed: 2015-01-08 16:41:32.0
Homepage: null
Size: 151
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Very simple paragraph field type for Drupal 7.
Just activate the module and set some fields of this type.
Configuration can only be done at the instance level (field level does not really brings any value added).
Allow accordion: simple boolean value the user will be able to set to true or false for each value. This preset will be ignored in the default formatter implementation but allows you to read this variable into the field value template and use this boolean pretty much as you wish.
Require title: title may or may not be required for input. Notice that changing the setting on an existing field will not alter already existing value.
There is a paragraph.tpl.php template which represent a single paragraph value: do whatever you need to do with it. There is a few template suggestions available for you:
paragraph–field_name
paragraph–entity_type–field_name
paragraph–entity_type–bundle
paragraph–entity_type–bundle–field_name
Beware collisions are possible between field name and bundle.