function LayoutPluginManagerInterface::getDefinition
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getDefinition()
- 8.9.x core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getDefinition()
- 11.x core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getDefinition()
Gets a specific plugin definition.
Parameters
string $plugin_id: A plugin id.
bool $exception_on_invalid: (optional) If TRUE, an invalid plugin ID will throw an exception.
Return value
\Drupal\Core\Layout\LayoutDefinition|null
Overrides DiscoveryInterface::getDefinition
File
-
core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManagerInterface.php, line 35
Class
- LayoutPluginManagerInterface
- Provides the interface for a plugin manager of layouts.
Namespace
Drupal\Core\LayoutCode
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.