Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
ChoiceValidatorTest.php
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
function choice_callback
File
drupal/
core/
vendor/
symfony/
validator/
Symfony/
Component/
Validator/
Tests/
Constraints/
ChoiceValidatorTest.php
, line 17
Namespace
Symfony\Component\Validator\Tests\Constraints
Code
function
choice_callback
() {
return
array
(
'
foo
'
,
'bar'
, ); }