You are here

static function EntityBundlePluginProvideFieldsInterface::fields in Entity bundle plugin 7

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 value

array An associative array of field definitions, keyed by field name. Each field definition is an associated array with two keys:

2 methods override EntityBundlePluginProvideFieldsInterface::fields()
EntityBundlePluginTestBundle1::fields in tests/bundle/bundle1.inc
EntityBundlePluginTestBundle2::fields in tests/bundle/bundle2.inc

File

./entity_bundle_plugin.controller.inc, line 136
Entity base controller for EntityBundlePlugin.

Class

EntityBundlePluginProvideFieldsInterface

Code

static function fields();