public function BackgroundImageManagerInterface::alterEntityForm in Background Image 2.0.x
Same name and namespace in other branches
- 8 src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::alterEntityForm()
- 2.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
Namespace
Drupal\background_imageCode
public function alterEntityForm(array &$form, FormStateInterface $form_state);