function EmbeddedComponentForm::buildForm

Overrides FormInterface::buildForm

File

src/Form/EmbeddedComponentForm.php, line 57

Class

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

Namespace

Drupal\rules\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
    $form['locked'] = $this->rulesUiHandler
        ->addLockInformation();
    return $this->getFormHandler()
        ->form($form, $form_state);
}