You are here

public function BackgroundImageManagerInterface::prepareEntityForm in Background Image 8

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

Acts on an entity object about to be shown on an entity form.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity that is about to be shown on the form.

$operation: The current operation.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

1 method overrides BackgroundImageManagerInterface::prepareEntityForm()
BackgroundImageManager::prepareEntityForm in src/BackgroundImageManager.php
Acts on an entity object about to be shown on an entity form.

File

src/BackgroundImageManagerInterface.php, line 327

Class

BackgroundImageManagerInterface

Namespace

Drupal\background_image

Code

public function prepareEntityForm(EntityInterface $entity, $operation, FormStateInterface $form_state);