public function ActionFormBase::buildForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/action/src/ActionFormBase.php \Drupal\action\ActionFormBase::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides EntityForm::buildForm
1 call to ActionFormBase::buildForm()
- ActionAddForm::buildForm in core/
modules/ action/ src/ ActionAddForm.php
1 method overrides ActionFormBase::buildForm()
- ActionAddForm::buildForm in core/
modules/ action/ src/ ActionAddForm.php
File
- core/
modules/ action/ src/ ActionFormBase.php, line 57 - Contains \Drupal\action\ActionFormBase.
Class
- ActionFormBase
- Provides a base form for action forms.
Namespace
Drupal\actionCode
public function buildForm(array $form, FormStateInterface $form_state) {
$this->plugin = $this->entity
->getPlugin();
return parent::buildForm($form, $form_state);
}