Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityFieldManager.php

EntityFieldManager::$fieldMap

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

Each value is an array whose keys are field names and whose value is an array with two entries:

  • type: The field type.
  • bundles: The bundles in which the field appears.

Type: array

File

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

Class

EntityFieldManager
Manages the discovery of entity fields.

Namespace

Drupal\Core\Entity

Code

protected $fieldMap = [];
RSS feed
Powered by Drupal