EntityFieldManager::$fieldMapByFieldType

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityFieldManager.php \Drupal\Core\Entity\EntityFieldManager::fieldMapByFieldType
  2. 10 core/lib/Drupal/Core/Entity/EntityFieldManager.php \Drupal\Core\Entity\EntityFieldManager::fieldMapByFieldType
  3. 11.x 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 86

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.