protected function ViewAddForm::prepareEntity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::prepareEntity()
Prepares the entity object before the form is built first.
Overrides ViewFormBase::prepareEntity
File
- core/
modules/ views_ui/ src/ ViewAddForm.php, line 50 - Contains \Drupal\views_ui\ViewAddForm.
Class
- ViewAddForm
- Form controller for the Views edit form.
Namespace
Drupal\views_uiCode
protected function prepareEntity() {
// Do not prepare the entity while it is being added.
}