function DataProcessorManagerTrait::setDataProcessorManager
Sets the data processor manager.
Parameters
\Drupal\rules\Context\DataProcessorManager $dataProcessorManager: The data processor manager.
Return value
$this
File
-
src/
Context/ DataProcessorManagerTrait.php, line 27
Class
- DataProcessorManagerTrait
- Trait for easily using the data processor service.
Namespace
Drupal\rules\ContextCode
public function setDataProcessorManager(DataProcessorManager $dataProcessorManager) {
$this->dataProcessorManager = $dataProcessorManager;
return $this;
}