You are here

public function EntityDataProviderManagerInterface::getData in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 src/DataProvider/EntityDataProviderManagerInterface.php \Drupal\gutenberg\DataProvider\EntityDataProviderManagerInterface::getData()

Get data for specified entity type.

Parameters

string $entity_type: Entity type machine name.

\Drupal\Core\Entity\ContentEntityInterface $entity: Entity instance.

array $data: (optional) Additional data to process.

Return value

mixed The data for the specified entity type.

Throws

\Exception

1 method overrides EntityDataProviderManagerInterface::getData()
EntityDataProviderManager::getData in src/DataProvider/EntityDataProviderManager.php
Get data for specified entity type.

File

src/DataProvider/EntityDataProviderManagerInterface.php, line 41

Class

EntityDataProviderManagerInterface
Handles media type persistence process.

Namespace

Drupal\gutenberg\DataProvider

Code

public function getData(string $entity_type, ContentEntityInterface $entity, array $data = []);