function 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']);
}
}