interface EntityBundlePluginProvideFieldsInterface in Entity bundle plugin 7
Hierarchy
- interface \EntityBundlePluginProvideFieldsInterface
Expanded class hierarchy of EntityBundlePluginProvideFieldsInterface
All classes that implement EntityBundlePluginProvideFieldsInterface
1 string reference to 'EntityBundlePluginProvideFieldsInterface'
- entity_bundle_plugin_rebuild_fields in ./
entity_bundle_plugin.module - Rebuild the fields for a given entity type.
File
- ./
entity_bundle_plugin.controller.inc, line 121 - Entity base controller for EntityBundlePlugin.
View source
interface EntityBundlePluginProvideFieldsInterface {
/**
* Returns the fields that are going to be used by this entity bundle.
*
* The definition of the fields must be strictly compatible: a field of
* defining two fields with the same name must have identical field
* definitions.
*
* @return array
* An associative array of field definitions, keyed by field name.
* Each field definition is an associated array with two keys:
* - 'field': the field definition, as per field_create_field();
* - 'instance': the instance definition, as per field_create_instance().
*/
static function fields();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityBundlePluginProvideFieldsInterface:: |
static | function | Returns the fields that are going to be used by this entity bundle. | 2 |