function Table::wizardSubmit
Same name in other branches
- 9 core/modules/views/src/Plugin/views/style/Table.php \Drupal\views\Plugin\views\style\Table::wizardSubmit()
- 8.9.x core/modules/views/src/Plugin/views/style/Table.php \Drupal\views\Plugin\views\style\Table::wizardSubmit()
- 11.x core/modules/views/src/Plugin/views/style/Table.php \Drupal\views\Plugin\views\style\Table::wizardSubmit()
Overrides StylePluginBase::wizardSubmit
File
-
core/
modules/ views/ src/ Plugin/ views/ style/ Table.php, line 418
Class
- Table
- Style plugin to render each item as a row in a table.
Namespace
Drupal\views\Plugin\views\styleCode
public function wizardSubmit(&$form, FormStateInterface $form_state, WizardInterface $wizard, &$display_options, $display_type) {
// If any of the displays use the table style, make sure that the fields
// always have a labels by unsetting the override.
foreach ($display_options['default']['fields'] as &$field) {
unset($field['label']);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.