Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donquixote/drupal-field-collection
https://github.com/donquixote/drupal-field-collection
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/donquixote/drupal-field-collection
- Owner: donquixote
- Created: 2014-01-31T17:45:04.000Z (almost 11 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2014-02-23T15:32:35.000Z (over 10 years ago)
- Last Synced: 2023-03-10T21:12:59.448Z (over 1 year ago)
- Language: PHP
- Size: 391 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Field collection
-----------------
Provides a field collection field, to which any number of fields can be attached.Each field collection item is internally represented as an entity, which is
referenced via the field collection field in the host entity. While
conceptually field collections are treated as part of the host entity, each
field collection item may also be viewed and edited separately.
Usage
------
* Add a field collection field to any entity, e.g. to a node. For that use the
the usual "Manage fields" interface provided by the "field ui" module of
Drupal, e.g. "Admin -> Structure-> Content types -> Article -> Manage fields".
* Then go to "Admin -> Structure-> Field collection" to define some fields for
the created field collection.
* By the default, the field collection is not shown during editing of the host
entity. However, some links for adding, editing or deleting field collection
items is shown when the host entity is viewed.
* Widgets for embedding the form for creating field collections in the
host-entity can be provided by any module. In future the field collection
module might provide such widgets itself too.
Restrictions
-------------* As of now, the field collection field does not properly respect different
languages of the host entity. Thus, for now it is suggested to only use the
field for entities that are not translatable.