You are here

public function BusinessRulesConditionPluginInterface::process in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesConditionPluginInterface.php \Drupal\business_rules\Plugin\BusinessRulesConditionPluginInterface::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.

1 method overrides BusinessRulesConditionPluginInterface::process()
BusinessRulesConditionPlugin::process in src/Plugin/BusinessRulesConditionPlugin.php
Process the condition.

File

src/Plugin/BusinessRulesConditionPluginInterface.php, line 25

Class

BusinessRulesConditionPluginInterface
Defines an interface for Business rules Condition plugins.

Namespace

Drupal\business_rules\Plugin

Code

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