public function ActionExpression::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/ ActionExpression.php, line 137
Class
- ActionExpression
- Provides an executable action 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->actionManager);
}
}