This module exposes the Vocabulary to the field system. It defines a single bundle and a single view mode.
The data is loaded when you load a vocabulary, but it is up to you with what you do with it!
Use cases
1. Vocabulary specific fields / data
We needed to store some custom page titles for the vocabulary for a number of different pages and we could not automatically do this from the vocab name and we didn't want to hard code these strings into a template or module. So we store these page titles in fields, and in the template preprocess we load the vocabulary and manually set the page titles off the field value.
2. Vocabulary reference field
You can use the Entity Reference module to construct a vocabulary reference field.
Internal details
The module only directly invokes field_attach_form() and implements a sub-set of the entity callbacks (presave, insert, update and delete). All core field types have successfully been tested but lodge an issue if you have any issues.
Dependencies
Taxonomy
Entity API
Project information
- Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues. - Module categories: Site Structure, Developer Tools
- 347 sites report using this module
- Created by Alan D. on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 6 Dec 2014 at 04:28 UTC