public function Entity::submitOptionsForm in Zircon Profile 8
Same name in this branch
- 8 core/modules/views/src/Plugin/views/area/Entity.php \Drupal\views\Plugin\views\area\Entity::submitOptionsForm()
- 8 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::submitOptionsForm()
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::submitOptionsForm()
Provide the default form form for submitting options
Overrides ArgumentValidatorPluginBase::submitOptionsForm
1 method overrides Entity::submitOptionsForm()
- User::submitOptionsForm in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Provide the default form form for submitting options
File
- core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php, line 153 - Contains \Drupal\views\Plugin\views\argument_validator\Entity.
Class
- Entity
- Defines a argument validator plugin for each entity type.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = array()) {
// Filter out unused options so we don't store giant unnecessary arrays.
$options['bundles'] = array_filter($options['bundles']);
}