class AnnotationEnum
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnum
- 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnum
- 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnum
Plugin annotation
@Target("ALL");
Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnum
Expanded class hierarchy of AnnotationEnum
Related topics
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ AnnotationEnum.php, line 9
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesView source
final class AnnotationEnum {
const ONE = 'ONE';
const TWO = 'TWO';
const THREE = 'THREE';
/**
* @var mixed
*
* @Enum({"ONE","TWO","THREE"})
*/
public $value;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
AnnotationEnum::$value | public | property | Plugin annotation @Enum({"ONE","TWO","THREE"}) |
AnnotationEnum::ONE | constant | ||
AnnotationEnum::THREE | constant | ||
AnnotationEnum::TWO | constant |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.