function EmbeddedComponentForm::getFormHandler

Gets the form handler for the component's expression.

Return value

\Drupal\rules\Form\Expression\ExpressionFormInterface|null The form handling object if there is one, NULL otherwise.

File

src/Form/EmbeddedComponentForm.php, line 40

Class

EmbeddedComponentForm
Components form, ready to be embedded in some other form.

Namespace

Drupal\rules\Form

Code

protected function getFormHandler() {
    return $this->rulesUiHandler
        ->getComponent()
        ->getExpression()
        ->getFormHandler();
}