public property Field::$storage

The field storage definition.

An array of key/value pairs identifying the storage backend to use for the field:

  • type: (string) The storage backend used by the field. Storage backends are defined by modules that implement hook_field_storage_info().
  • settings: (array) A sub-array of key/value pairs of settings. The keys and default values are defined by the storage backend in the 'settings' entry of hook_field_storage_info().
  • module: (string, read-only) The name of the module that implements the storage backend.
  • active: (integer, read-only) TRUE if the module that implements the storage backend is currently enabled, FALSE otherwise.

Type: array

File

drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php, line 163
Contains \Drupal\field\Plugin\Core\Entity\Field.

Class

Field
Defines the Field entity.

Namespace

Drupal\field\Plugin\Core\Entity

Code

public $storage = array();