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 10.3.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 Gets the class of the annotated class.
AnnotationBase::getId function core/lib/Drupal/Component/Annotation/AnnotationBase.php Gets the unique ID for this annotated class.
AnnotationBase::getProvider function core/lib/Drupal/Component/Annotation/AnnotationBase.php Gets the name of the provider of the annotated class.
AnnotationBase::setClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php Sets the class of the annotated class.
AnnotationBase::setProvider function core/lib/Drupal/Component/Annotation/AnnotationBase.php Sets the name of the provider of the annotated class.
AnnotationBaseStub class core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php
AnnotationBaseStub::get function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php Gets the value of an annotation.
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 Gets the definition of all plugins for this type.
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.