You are here

class EntityIsViewed in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesReactsOn/EntityIsViewed.php \Drupal\business_rules\Plugin\BusinessRulesReactsOn\EntityIsViewed

Class EntityIsViewed.

@package Drupal\business_rules\Plugin\BusinessRulesReactsOn

Plugin annotation


@BusinessRulesReactsOn(
  id = "entity_is_viewed",
  label = @Translation("Entity is viewed"),
  description = @Translation("Reacts when entity is viewed."),
  group = @Translation("Entity"),
  eventName = "business_rules.entity_is_viewed",
  hasTargetEntity = TRUE,
  hasTargetBundle = TRUE,
  priority = 1000,
)

Hierarchy

Expanded class hierarchy of EntityIsViewed

File

src/Plugin/BusinessRulesReactsOn/EntityIsViewed.php, line 23

Namespace

Drupal\business_rules\Plugin\BusinessRulesReactsOn
View source
class EntityIsViewed extends BusinessRulesReactsOnPlugin {

}

Members

Namesort descending Modifiers Type Description Overrides
BusinessRulesReactsOnPlugin::$processor protected property The business rules processor.
BusinessRulesReactsOnPlugin::$util protected property The business rules util.
BusinessRulesReactsOnPlugin::processForm public function Process the BusinessRule form for reactsOn plugins. Overrides BusinessRulesReactsOnInterface::processForm 3
BusinessRulesReactsOnPlugin::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase::__construct
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 2
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.