function StylePluginBase::wizardSubmit

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::wizardSubmit()
  2. 8.9.x core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::wizardSubmit()
  3. 11.x core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::wizardSubmit()

Alter the options of a display before they are added to the view.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

\Drupal\views\Plugin\views\wizard\WizardInterface $wizard: The current used wizard.

array $display_options: The options which will be used on the view. The style plugin should alter this to its own needs.

string $display_type: The display type, either block or page.

1 method overrides StylePluginBase::wizardSubmit()
Table::wizardSubmit in core/modules/views/src/Plugin/views/style/Table.php
Alter the options of a display before they are added to the view.

File

core/modules/views/src/Plugin/views/style/StylePluginBase.php, line 404

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

public function wizardSubmit(&$form, FormStateInterface $form_state, WizardInterface $wizard, &$display_options, $display_type) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.