class BusinessRulesReactsOn in Business Rules 8
Same name and namespace in other branches
- 2.x src/Annotation/BusinessRulesReactsOn.php \Drupal\business_rules\Annotation\BusinessRulesReactsOn
Defines a Business rules reacts on item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\business_rules\Annotation\BusinessRulesReactsOn
Expanded class hierarchy of BusinessRulesReactsOn
See also
\Drupal\business_rules\Plugin\BusinessRulesReactsOnManager
14 classes are annotated with BusinessRulesReactsOn
- CronRuns in src/
Plugin/ BusinessRulesReactsOn/ CronRuns.php - Class CronRuns.
- EntityDelete in src/
Plugin/ BusinessRulesReactsOn/ EntityDelete.php - Class EntityDelete.
- EntityInsert in src/
Plugin/ BusinessRulesReactsOn/ EntityInsert.php - Class EntityInsert.
- EntityIsViewed in src/
Plugin/ BusinessRulesReactsOn/ EntityIsViewed.php - Class EntityIsViewed.
- EntityLoaded in src/
Plugin/ BusinessRulesReactsOn/ EntityLoaded.php - Class EntityLoaded.
File
- src/
Annotation/ BusinessRulesReactsOn.php, line 15
Namespace
Drupal\business_rules\AnnotationView source
class BusinessRulesReactsOn extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* A human readable description of the Reacts On Event.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* The event name that will trigger the rule.
*
* @var string
*/
public $eventName;
/**
* The group of the action to be organized in the list box.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $group;
/**
* The priority of the event. Bigger is evaluated first.
*
* @var int
*/
public $priority;
/**
* If the event need a target entity.
*
* @var bool
*/
public $hasTargetEntity;
/**
* If the event has target bundle.
*
* @var bool
*/
public $hasTargetBundle;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BusinessRulesReactsOn:: |
public | property | A human readable description of the Reacts On Event. | |
BusinessRulesReactsOn:: |
public | property | The event name that will trigger the rule. | |
BusinessRulesReactsOn:: |
public | property | The group of the action to be organized in the list box. | |
BusinessRulesReactsOn:: |
public | property | If the event has target bundle. | |
BusinessRulesReactsOn:: |
public | property | If the event need a target entity. | |
BusinessRulesReactsOn:: |
public | property | The plugin ID. | |
BusinessRulesReactsOn:: |
public | property | The label of the plugin. | |
BusinessRulesReactsOn:: |
public | property | The priority of the event. Bigger is evaluated first. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |