You are here

public function HandlerBase::submitFormCalculateOptions in Drupal 8

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

Calculates options stored on the handler

Parameters

array $options: The options stored in the handler

array $form_state_options: The newly submitted form state options.

Return value

array The new options

1 method overrides HandlerBase::submitFormCalculateOptions()
EntityField::submitFormCalculateOptions in core/modules/views/src/Plugin/views/field/EntityField.php
Calculates options stored on the handler

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 851

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function submitFormCalculateOptions(array $options, array $form_state_options) {
  return $form_state_options + $options;
}