FieldStorageConfig::$entity_type

Same name and namespace in other branches
  1. 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::entity_type
  2. 10 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::entity_type
  3. 11.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::entity_type

The name of the entity type the field can be attached to.

Type: string

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 90

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected $entity_type;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.