RulesDataProcessor.php in Rules 8.3
Namespace
Drupal\rules\AnnotationFile
src/Annotation/RulesDataProcessor.phpView source
<?php
namespace Drupal\rules\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines the RulesDataProcessor annotation class.
*
* This annotation is used to identify plugins that want to alter variables
* before they are passed on during Rules execution.
*
* @Annotation
*/
class RulesDataProcessor extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the rules plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The data types this data processor can be applied to.
*
* @var array
*/
public $types;
}
Classes
Name | Description |
---|---|
RulesDataProcessor | Defines the RulesDataProcessor annotation class. |