function RulesEventManager::createInstance

Overrides PluginManagerBase::createInstance

File

src/Core/RulesEventManager.php, line 60

Class

RulesEventManager
Plugin manager for Rules events that can be triggered.

Namespace

Drupal\rules\Core

Code

public function createInstance($plugin_id, array $configuration = []) {
    // If a fully qualified event name is passed, be sure to get the base name
    // first.
    $plugin_id = $this->getEventBaseName($plugin_id);
    return parent::createInstance($plugin_id, $configuration);
}