function InOperatorTest::validate_options_callback
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php \Drupal\Tests\views\Unit\Plugin\filter\InOperatorTest::validate_options_callback()
- 8.9.x core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php \Drupal\Tests\views\Unit\Plugin\filter\InOperatorTest::validate_options_callback()
- 11.x core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php \Drupal\Tests\views\Unit\Plugin\filter\InOperatorTest::validate_options_callback()
Return value
array
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ filter/ InOperatorTest.php, line 37
Class
- InOperatorTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21views%21src%21Plugin%21views%21filter%21InOperator.php/class/InOperator/10" title="Simple filter to handle matching of multiple options selectable via checkboxes." class="local">\Drupal\views\Plugin\views\filter\InOperator</a> @group views
Namespace
Drupal\Tests\views\Unit\Plugin\filterCode
public static function validate_options_callback() {
return [
'Yes',
'No',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.