You are here

public function ColorsSchemeManager::createInstance in Colors 8

// @todo: return \Drupal\colors\Plugin\ColorsInterface

Overrides PluginManagerBase::createInstance

File

src/Plugin/ColorsSchemeManager.php, line 34

Class

ColorsSchemeManager
Plugin type manager for Colors Scheme plugins.

Namespace

Drupal\colors\Plugin

Code

public function createInstance($plugin_id, array $configuration = array()) {
  $plugin = parent::createInstance($plugin_id, $configuration);
  return $plugin;
}