ViewDuplicateForm::prepareEntity

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

ViewDuplicateForm::submitForm

public ViewDuplicateForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler for the 'clone' action. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: A reference to a keyed array containing the current state of the form. Overrides EntityForm::submitForm File core/modules/views_ui/src/ViewDuplicateForm.php, line 68 Class ViewDuplicateForm Form controller for the Views dupli

ViewEditForm

Form controller for the Views edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBaseclass \Drupal\views_ui\ViewEditForm File core/modules/views_ui/src/ViewEditForm.php, line 23 Namespace Drup

ViewEditForm::$dateFormatter

The date formatter service. Type: \Drupal\Core\Datetime\DateFormatterInterface File core/modules/views_ui/src/ViewEditForm.php, line 44 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $dateFormatter;

ViewEditForm::$elementInfo

The element info manager. Type: \Drupal\Core\Render\ElementInfoManagerInterface File core/modules/views_ui/src/ViewEditForm.php, line 51 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $elementInfo;

ViewEditForm::$requestStack

The request object. Type: \Symfony\Component\HttpFoundation\RequestStack Overrides FormBase::$requestStack File core/modules/views_ui/src/ViewEditForm.php, line 37 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $requestStack;

ViewEditForm::$tempStore

The views temp store. Type: \Drupal\user\SharedTempStore File core/modules/views_ui/src/ViewEditForm.php, line 30 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $tempStore;

ViewEditForm::actions

protected ViewEditForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/views_ui/src/ViewEditForm.php, line 216 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected function actions(array $form, FormStateInterface $form_state) {

ViewEditForm::buildOptionForm

public ViewEditForm::buildOptionForm(ViewUI $view, $id, $option, $display) Build a renderable array representing one option on the edit form. This function might be more logical as a method on an object, if a suitable object emerges out of refactoring. File core/modules/views_ui/src/ViewEditForm.php, line 878 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function buildOptionForm(ViewUI $view, $id, $option, $display) { $option_build

ViewEditForm::cancel

public ViewEditForm::cancel(array $form, FormStateInterface $form_state) Form submission handler for the 'cancel' action. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/modules/views_ui/src/ViewEditForm.php, line 328 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function cancel(array $form, FormStateInterface