public function ConditionExpression::getFormHandler in Rules 8.3
Returns the form handling class for this expression.
Return value
\Drupal\rules\Form\Expression\ExpressionFormInterface|null The form handling object if there is one, NULL otherwise.
Overrides ExpressionBase::getFormHandler
File
- src/
Plugin/ RulesExpression/ ConditionExpression.php, line 173
Class
- ConditionExpression
- Defines an executable condition expression.
Namespace
Drupal\rules\Plugin\RulesExpressionCode
public function getFormHandler() {
if (isset($this->pluginDefinition['form_class'])) {
$class_name = $this->pluginDefinition['form_class'];
return new $class_name($this, $this->conditionManager);
}
}