You are here

class BusinessRulesReactsOn in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Annotation/BusinessRulesReactsOn.php \Drupal\business_rules\Annotation\BusinessRulesReactsOn

Defines a Business rules reacts on item annotation object.

Hierarchy

Expanded class hierarchy of BusinessRulesReactsOn

See also

\Drupal\business_rules\Plugin\BusinessRulesReactsOnManager

Plugin API

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.

... See full list

File

src/Annotation/BusinessRulesReactsOn.php, line 15

Namespace

Drupal\business_rules\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
BusinessRulesReactsOn::$description public property A human readable description of the Reacts On Event.
BusinessRulesReactsOn::$eventName public property The event name that will trigger the rule.
BusinessRulesReactsOn::$group public property The group of the action to be organized in the list box.
BusinessRulesReactsOn::$hasTargetBundle public property If the event has target bundle.
BusinessRulesReactsOn::$hasTargetEntity public property If the event need a target entity.
BusinessRulesReactsOn::$id public property The plugin ID.
BusinessRulesReactsOn::$label public property The label of the plugin.
BusinessRulesReactsOn::$priority public property The priority of the event. Bigger is evaluated first.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2