Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
AnnotatedClassDiscoveryTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
AnnotatedClassDiscoveryTest::testAutoloadBadAnnotations function core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php Make sure AnnotatedClassDiscovery never tries to autoload bad annotations.
AnnotatedClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::getDefinitions
@covers ::prepareAnnotationDefinition
@covers ::getAnnotationReader
AnnotatedClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::__construct
@covers ::getPluginNamespaces
Annotation for context definition group core/lib/Drupal/Core/Annotation/ContextDefinition.php Describes how to use ContextDefinition annotation.
Annotation for translatable text group core/lib/Drupal/Core/Annotation/Translation.php Describes how to put translatable UI text into annotations.
AnnotationBase class core/lib/Drupal/Component/Annotation/AnnotationBase.php Provides a base class for classed annotations.
AnnotationBase.php file core/lib/Drupal/Component/Annotation/AnnotationBase.php
AnnotationBase::$class property core/lib/Drupal/Component/Annotation/AnnotationBase.php The class used for this annotated class.
AnnotationBase::$id property core/lib/Drupal/Component/Annotation/AnnotationBase.php The annotated class ID.
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

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