You are here

public function FieldManagerInterface::getAllFieldConfigsForField in Scheduled Updates 8

Get all the instances of field for an entity type.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $definition:

string $entity_type_id:

Return value

\Drupal\Core\Field\FieldDefinitionInterface[]

1 method overrides FieldManagerInterface::getAllFieldConfigsForField()
FieldManager::getAllFieldConfigsForField in src/FieldManager.php
Get all the instances of field for an entity type.

File

src/FieldManagerInterface.php, line 53
Contains \Drupal\scheduled_updates\FieldManagerInterface.

Class

FieldManagerInterface
Interface for the field manager service.

Namespace

Drupal\scheduled_updates

Code

public function getAllFieldConfigsForField(FieldStorageDefinitionInterface $definition, $entity_type_id);