You are here

public function SerialStorageInterface::getAllFields in Serial Field 8

Gets a lightweight map of fields across bundles filtered by field type.

Return value

array An array keyed by entity type. Each value is an array which keys are field names and value is an array with two entries:

  • type: The field type.
  • bundles: An associative array of the bundles in which the field appears, where the keys and values are both the bundle's machine name.
1 method overrides SerialStorageInterface::getAllFields()
SerialSQLStorage::getAllFields in src/SerialSQLStorage.php
Gets a lightweight map of fields across bundles filtered by field type.

File

src/SerialStorageInterface.php, line 90

Class

SerialStorageInterface
Defines an interface for serial storage classes.

Namespace

Drupal\serial

Code

public function getAllFields();