You are here

public function HandlerBase::submitGroupByForm in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::submitGroupByForm()

Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.

1 call to HandlerBase::submitGroupByForm()
Field::submitGroupByForm in core/modules/views/src/Plugin/views/field/Field.php
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
1 method overrides HandlerBase::submitGroupByForm()
Field::submitGroupByForm in core/modules/views/src/Plugin/views/field/Field.php
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 373
Contains \Drupal\views\Plugin\views\HandlerBase.

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function submitGroupByForm(&$form, FormStateInterface $form_state) {
  $form_state
    ->get('handler')->options['group_type'] = $form_state
    ->getValue([
    'options',
    'group_type',
  ]);
}