protected ViewAddForm::prepareEntity()
Prepares the entity object before the form is built first.
Overrides ViewFormBase::prepareEntity
File
- core/modules/views_ui/src/ViewAddForm.php, line 45
 
Class
- ViewAddForm
 - Form controller for the Views edit form.
 
Namespace
Drupal\views_ui
Code
protected function prepareEntity() {
  // Do not prepare the entity while it is being added.
}
Please login to continue.