function ViewDuplicateForm::prepareEntity
Same name in other branches
- 8.9.x core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::prepareEntity()
- 10 core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::prepareEntity()
- 11.x core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::prepareEntity()
Overrides ViewFormBase::prepareEntity
File
-
core/
modules/ views_ui/ src/ ViewDuplicateForm.php, line 17
Class
- ViewDuplicateForm
- Form controller for the Views duplicate form.
Namespace
Drupal\views_uiCode
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.