You are here

public function BackgroundImageManagerInterface::alterEntityForm in Background Image 8

Same name and namespace in other branches
  1. 2.x src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::alterEntityForm()
  2. 2.0.x src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::alterEntityForm()

Perform alterations before a form is rendered.

Parameters

$form: Nested array of form elements that comprise the form.

$form_state: The current state of the form. The arguments that \Drupal::formBuilder()->getForm() was originally called with are available in the array $form_state->getBuildInfo()['args'].

1 method overrides BackgroundImageManagerInterface::alterEntityForm()
BackgroundImageManager::alterEntityForm in src/BackgroundImageManager.php
Perform alterations before a form is rendered.

File

src/BackgroundImageManagerInterface.php, line 26

Class

BackgroundImageManagerInterface

Namespace

Drupal\background_image

Code

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