function TypedConfigManagerInterface::getDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php \Drupal\Core\Config\TypedConfigManagerInterface::getDefinition()
- 10 core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php \Drupal\Core\Config\TypedConfigManagerInterface::getDefinition()
- 11.x core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php \Drupal\Core\Config\TypedConfigManagerInterface::getDefinition()
Gets a specific plugin definition.
Parameters
string $plugin_id: A plugin id.
bool $exception_on_invalid: Ignored with TypedConfigManagerInterface. Kept for compatibility with DiscoveryInterface.
Return value
array A plugin definition array. If the given plugin id does not have typed configuration definition assigned, the definition of an undefined element type is returned.
Overrides DiscoveryInterface::getDefinition
File
-
core/
lib/ Drupal/ Core/ Config/ TypedConfigManagerInterface.php, line 73
Class
- TypedConfigManagerInterface
- Defines an interface for managing config schema type plugins.
Namespace
Drupal\Core\ConfigCode
public function getDefinition($plugin_id, $exception_on_invalid = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.