function LayoutPluginManagerInterface::createInstance
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::createInstance()
- 8.9.x core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::createInstance()
- 11.x core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::createInstance()
Creates a plugin instance based on the provided ID and configuration.
Parameters
string $plugin_id: The ID of the plugin being instantiated.
array $configuration: An array of configuration relevant to the plugin instance.
Return value
\Drupal\Core\Layout\LayoutInterface
Overrides FactoryInterface::createInstance
File
-
core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManagerInterface.php, line 28
Class
- LayoutPluginManagerInterface
- Provides the interface for a plugin manager of layouts.
Namespace
Drupal\Core\LayoutCode
public function createInstance($plugin_id, array $configuration = []);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.