You shouldn't install this module unless it is a dependency of another module you are using or you are a developer.
To expose your own entity properties perform the following steps.
Add the extra fields controller class (EntityPropertyExtraFieldsController)
to the entity info that contains the properties that you want to expose.
You can do this just adding a new key in your
hook_entity_info(), or you
'extra fields controller class' => 'EntityPropertyExtraFieldsController'
hook_entity_property_info() add an key called 'extra_fields' to each
element in the property array. The value should be an array which contains
display, which indicate that the property
should be available in the edit form and/or the display, respectively.
Alternatively this can be added via
// Exposes property in create/edit form. 'extra_fields' => array('form'), // Exposes property as an option in display. 'extra_fields' => array('display'), // Exposes property in both the form and display. 'extra_fields' => array('form', 'display'),
Complete property example:
$properties['vid'] = array( 'label' => t('Revision ID'), 'type' => 'integer', 'description' => t('The unique revision identifier.'), 'schema field' => 'vid', 'extra_fields' => array('form', 'display'), );
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Developer, Fields, Utility
- Last modified: October 31, 2014
- Stable releases are covered by the security advisory policy.
Look for the shield icon below.