EntityFieldManager::$fieldMapByFieldType

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityFieldManager.php \Drupal\Core\Entity\EntityFieldManager::fieldMapByFieldType
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityFieldManager.php \Drupal\Core\Entity\EntityFieldManager::fieldMapByFieldType
  3. 10 core/lib/Drupal/Core/Entity/EntityFieldManager.php \Drupal\Core\Entity\EntityFieldManager::fieldMapByFieldType

An array of lightweight maps of fields, keyed by field type.

Each value is an array whose key are entity types including arrays in the same form as $fieldMap. It helps access the mapping between types and fields by the field type.

Type: array

File

core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 89

Class

EntityFieldManager
Manages the discovery of entity fields.

Namespace

Drupal\Core\Entity

Code

protected $fieldMapByFieldType = [];

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