EntityFieldManager::$fieldMapByFieldType

Same name in other branches
  1. 9 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 keyed by field type. Each value is an array whose key are entity types including arrays in the same form that $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 83

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.