You are here

public function ExtraFieldFormManagerInterface::entityFormAlter in Extra Field 8.2

Appends the renderable data from ExtraFieldForm plugins to hook_form_alter.

Parameters

array $form: The entity form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state object.

1 method overrides ExtraFieldFormManagerInterface::entityFormAlter()
ExtraFieldFormManager::entityFormAlter in src/Plugin/ExtraFieldFormManager.php
Appends the renderable data from ExtraFieldForm plugins to hook_form_alter.

File

src/Plugin/ExtraFieldFormManagerInterface.php, line 31

Class

ExtraFieldFormManagerInterface
Provides the Extra field form plugin manager.

Namespace

Drupal\extra_field\Plugin

Code

public function entityFormAlter(array &$form, FormStateInterface $form_state);