You are here

abstract public function BusinessRulesConditionPlugin::process in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesConditionPlugin.php \Drupal\business_rules\Plugin\BusinessRulesConditionPlugin::process()

Process the condition.

Parameters

\Drupal\business_rules\ConditionInterface $condition: The configured condition.

\Drupal\business_rules\Events\BusinessRulesEvent $event: The event that has triggered the condition.

Return value

bool Boolean value that indicates if the condition is true.

Overrides BusinessRulesConditionPluginInterface::process

11 methods override BusinessRulesConditionPlugin::process()
CheckViewResultCount::process in src/Plugin/BusinessRulesCondition/CheckViewResultCount.php
Process the condition.
CompareNumberOfResultsBetweenTwoViews::process in src/Plugin/BusinessRulesCondition/CompareNumberOfResultsBetweenTwoViews.php
Process the condition.
DataComparison::process in src/Plugin/BusinessRulesCondition/DataComparison.php
Process the condition.
GroupHasNodeCondition::process in modules/br_group/src/Plugin/BusinessRulesCondition/GroupHasNodeCondition.php
Process the condition.
GroupHasUserCondition::process in modules/br_group/src/Plugin/BusinessRulesCondition/GroupHasUserCondition.php
Process the condition.

... See full list

File

src/Plugin/BusinessRulesConditionPlugin.php, line 16

Class

BusinessRulesConditionPlugin
Base class for Business rules Condition plugins.

Namespace

Drupal\business_rules\Plugin

Code

public abstract function process(ConditionInterface $condition, BusinessRulesEvent $event);