TypedConfigManagerInterface::getDefinition

public TypedConfigManagerInterface::getDefinition($plugin_id, $exception_on_invalid = TRUE)

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\Config

Code

public function getDefinition($plugin_id, $exception_on_invalid = TRUE);
doc_Drupal
2016-10-29 09:49:57
Comments
Leave a Comment

Please login to continue.