public function EntityDataProviderManagerInterface::registerDataProvider in Gutenberg 8.2
Same name and namespace in other branches
- 8 src/DataProvider/EntityDataProviderManagerInterface.php \Drupal\gutenberg\DataProvider\EntityDataProviderManagerInterface::registerDataProvider()
Register entity type data provider.
Parameters
\Drupal\gutenberg\DataProvider\DataProviderInterface $data_provider: Data provider to register.
string $entity_type: Entity type machine name.
Throws
\Exception
1 method overrides EntityDataProviderManagerInterface::registerDataProvider()
- EntityDataProviderManager::registerDataProvider in src/
DataProvider/ EntityDataProviderManager.php - Register entity type data provider.
File
- src/
DataProvider/ EntityDataProviderManagerInterface.php, line 24
Class
- EntityDataProviderManagerInterface
- Handles media type persistence process.
Namespace
Drupal\gutenberg\DataProviderCode
public function registerDataProvider(DataProviderInterface $data_provider, string $entity_type);