You are here

protected function ViewDuplicateForm::prepareEntity in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::prepareEntity()

Prepares the entity object before the form is built first.

Overrides ViewFormBase::prepareEntity

File

core/modules/views_ui/src/ViewDuplicateForm.php, line 20
Contains \Drupal\views_ui\ViewDuplicateForm.

Class

ViewDuplicateForm
Form controller for the Views duplicate form.

Namespace

Drupal\views_ui

Code

protected function prepareEntity() {

  // Do not prepare the entity while it is being added.
}