public function ConfigInspectorManager::getDefinition in Configuration Inspector 8
Provides definition of a configuration.
Parameters
string $plugin_id: A string plugin ID.
bool $exception_on_invalid: If TRUE, an invalid plugin ID will throw an exception.
Return value
mixed|void Plugin definition. NULL if ID invalid and $exception_on_invalid FALSE.
Overrides DiscoveryCachedTrait::getDefinition
File
- src/
ConfigInspectorManager.php, line 58
Class
- ConfigInspectorManager
- Manages plugins for configuration translation mappers.
Namespace
Drupal\config_inspectorCode
public function getDefinition($plugin_id, $exception_on_invalid = TRUE) {
return $this->typedConfigManager
->getDefinition($plugin_id, $exception_on_invalid);
}