function HandlerBase::submitFormCalculateOptions
Same name in other branches
- 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::submitFormCalculateOptions()
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::submitFormCalculateOptions()
- 11.x 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 949
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
public function submitFormCalculateOptions(array $options, array $form_state_options) {
return $form_state_options + $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.