function ConditionExpression::getFormHandler

Overrides ExpressionBase::getFormHandler

File

src/Plugin/RulesExpression/ConditionExpression.php, line 173

Class

ConditionExpression
Defines an executable condition expression.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

public function getFormHandler() {
    if (isset($this->pluginDefinition['form_class'])) {
        $class_name = $this->pluginDefinition['form_class'];
        return new $class_name($this, $this->conditionManager);
    }
}