function public function PluginManager::createInstance

8.x-3.x PluginManager.php public PluginManager::createInstance($plugin_id, array $configuration = [])

Class

PluginManager
Base class for Bootstrap plugin managers.

Namespace

Drupal\bootstrap\Plugin

Source src/Plugin/PluginManager.php (line 80)

public function createInstance($plugin_id, array $configuration = []) {
  if (!isset($configuration['theme'])) {
    $configuration['theme'] = $this->theme;
  }
  return parent::createInstance($plugin_id, $configuration);
}