You are here

function background_image_entity_prepare_form in Background Image 8

Same name and namespace in other branches
  1. 2.x background_image.module \background_image_entity_prepare_form()
  2. 2.0.x background_image.module \background_image_entity_prepare_form()

Implements hook_entity_prepare_form().

File

./background_image.module, line 54
Background Image module's procedural hooks and functions.

Code

function background_image_entity_prepare_form(EntityInterface $entity, $operation, FormStateInterface $form_state) {
  BackgroundImageManager::service()
    ->prepareEntityForm($entity, $operation, $form_state);
}