Initialize the form state and the entity before the first form build.
Overrides ViewFormControllerBase::init
File
- drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewAddFormController.php, line 55
- Contains Drupal\views_ui\ViewAddFormController.
Class
- ViewAddFormController
- Form controller for the Views edit form.
Namespace
Drupal\views_ui
Code
public function init(array &$form_state) {
parent::init($form_state);
drupal_set_title(t('Add new view'));
}