DataProcessorManager.php
Namespace
Drupal\rules\ContextFile
-
src/
Context/ DataProcessorManager.php
View source
<?php
namespace Drupal\rules\Context;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\rules\Annotation\RulesDataProcessor;
/**
* Plugin manager for Rules data processors.
*
* @see \Drupal\rules\Context\DataProcessorInterface
*/
class DataProcessorManager extends DefaultPluginManager {
/**
* {@inheritdoc}
*/
public function __construct(\Traversable $namespaces, ModuleHandlerInterface $module_handler, $plugin_definition_annotation_name = RulesDataProcessor::class) {
$this->alterInfo('rules_data_processor_info');
parent::__construct('Plugin/RulesDataProcessor', $namespaces, $module_handler, DataProcessorInterface::class, $plugin_definition_annotation_name);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DataProcessorManager | Plugin manager for Rules data processors. |