Search for annot

  1. Search 7.x for annot
  2. Search 9.5.x for annot
  3. Search 8.9.x for annot
  4. Search 11.x for annot
  5. Other projects
Title Object type File name Summary
AnnotationBase::$provider property core/lib/Drupal/Component/Annotation/AnnotationBase.php The provider of the annotated class.
AnnotationBase::getClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php
AnnotationBase::getId function core/lib/Drupal/Component/Annotation/AnnotationBase.php
AnnotationBase::getProvider function core/lib/Drupal/Component/Annotation/AnnotationBase.php
AnnotationBase::setClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php
AnnotationBase::setProvider function core/lib/Drupal/Component/Annotation/AnnotationBase.php
AnnotationBaseStub class core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php
AnnotationBaseStub::get function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php
AnnotationBaseTest class core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @coversDefaultClass \Drupal\Component\Annotation\AnnotationBase
@group Annotation
AnnotationBaseTest.php file core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php
AnnotationBaseTest::testGetId function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @covers ::getId
AnnotationBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @covers ::getClass
@covers ::setClass
AnnotationBaseTest::testSetProvider function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @covers ::getProvider
@covers ::setProvider
AnnotationBridgeDecorator class core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php Ensures that all definitions are run through the annotation process.
AnnotationBridgeDecorator.php file core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php
AnnotationBridgeDecorator::$decorated property core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php The decorated plugin discovery.
AnnotationBridgeDecorator::$pluginDefinitionAnnotationName property core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php The name of the annotation that contains the plugin definition.
AnnotationBridgeDecorator::getDefinitions function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php
AnnotationBridgeDecorator::__call function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php Passes through all unknown calls onto the decorated object.
AnnotationBridgeDecorator::__construct function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php ObjectDefinitionDiscoveryDecorator constructor.
AnnotationBridgeDecoratorTest class core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php @coversDefaultClass \Drupal\Component\Annotation\Plugin\Discovery\AnnotationBridgeDecorator
@group Plugin
AnnotationBridgeDecoratorTest.php file core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php
AnnotationBridgeDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php @covers ::getDefinitions
AnnotationEnum class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php Plugin annotation
@Target("ALL");
AnnotationEnum.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php
AnnotationEnum::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php Plugin annotation

@Enum({"ONE","TWO","THREE"})
AnnotationEnum::ONE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php
AnnotationEnum::THREE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php
AnnotationEnum::TWO constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php
AnnotationEnumInvalid class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php Plugin annotation
@Target("ALL");
AnnotationEnumInvalid.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php
AnnotationEnumInvalid::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php Plugin annotation

@Enum({1, 2, "foo", "bar", {"foo":"bar"}})
AnnotationEnumLiteral class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php Plugin annotation
@Target("ALL");
AnnotationEnumLiteral.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php
AnnotationEnumLiteral::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php Plugin annotation

@Enum(
value = {
1,
2,
3,
},
literal = {
1 : "AnnotationEnumLiteral::ONE",
2 : "AnnotationEnumLiteral::TWO",
3 : "AnnotationEnumLiteral::THREE",
}
)
AnnotationEnumLiteral::ONE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php
AnnotationEnumLiteral::THREE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php
AnnotationEnumLiteral::TWO constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php
AnnotationEnumLiteralInvalid class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php Plugin annotation
@Target("ALL");
AnnotationEnumLiteralInvalid.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationEnumLiteralInvalid::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php Plugin annotation

@Enum(
value = {
1,
2
},
literal = {
1 : "AnnotationEnumLiteral::ONE",
2 : "AnnotationEnumLiteral::TWO",
3 : "AnnotationEnumLiteral::THREE"
}
)
AnnotationEnumLiteralInvalid::ONE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationEnumLiteralInvalid::THREE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationEnumLiteralInvalid::TWO constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationExtendsAnnotationTargetAll class core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
AnnotationInterface interface core/lib/Drupal/Component/Annotation/AnnotationInterface.php Defines a common interface for classed annotations.
AnnotationInterface.php file core/lib/Drupal/Component/Annotation/AnnotationInterface.php
AnnotationInterface::get function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Gets the value of an annotation.
AnnotationInterface::getClass function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Gets the class of the annotated class.
AnnotationInterface::getId function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Gets the unique ID for this annotated class.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.