You are here

public function EntityDataProviderManagerInterface::isRegistered in Gutenberg 8

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

Check if data provider for specified entity type exists.

Parameters

string $data_provider: Machine name of a data provider (entity type machine name).

Return value

bool TRUE if the specified entity type exists, FALSE otherwise.

1 method overrides EntityDataProviderManagerInterface::isRegistered()
EntityDataProviderManager::isRegistered in src/DataProvider/EntityDataProviderManager.php
Check if data provider for specified entity type exists.

File

src/DataProvider/EntityDataProviderManagerInterface.php, line 52

Class

EntityDataProviderManagerInterface
Handles media type persistence process.

Namespace

Drupal\gutenberg\DataProvider

Code

public function isRegistered(string $data_provider);