function ViewAddForm::prepareEntity

Same name in other branches
  1. 9 core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::prepareEntity()
  2. 10 core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::prepareEntity()
  3. 11.x core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::prepareEntity()

Overrides ViewFormBase::prepareEntity

File

core/modules/views_ui/src/ViewAddForm.php, line 47

Class

ViewAddForm
Form controller for the Views add form.

Namespace

Drupal\views_ui

Code

protected function prepareEntity() {
    // Do not prepare the entity while it is being added.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.