function ActionExpression::getFormHandler

Overrides ExpressionBase::getFormHandler

File

src/Plugin/RulesExpression/ActionExpression.php, line 137

Class

ActionExpression
Provides an executable action 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->actionManager);
    }
}