Search for class

  1. Search 7.x for class
  2. Search 9.5.x for class
  3. Search 8.9.x for class
  4. Search 10.3.x for class
  5. Other projects
Title Object type File name Summary
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
AnnotationBase::$class property core/lib/Drupal/Component/Annotation/AnnotationBase.php The class used for this annotated class.
AnnotationBase::getClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php Gets the class of the annotated class.
AnnotationBase::setClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php Sets the class of the annotated class.
AnnotationBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @covers ::getClass
@covers ::setClass
AnnotationInterface::getClass function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Gets the class of the annotated class.
AnnotationInterface::setClass function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Sets the class of the annotated class.
AnnotationTargetClass class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php Plugin annotation
@Target("CLASS");
AnnotationTargetClass.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
AnnotationTargetClass::$data property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
AnnotationTargetClass::$name property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
AnnotationTargetClass::$target property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
ApcuBackendFactory::$backendClass property core/lib/Drupal/Core/Cache/ApcuBackendFactory.php The APCU backend class to use.
Attribute::addClass function core/lib/Drupal/Core/Template/Attribute.php Adds classes or merges them on to array of existing CSS classes.
Attribute::getClass function core/lib/Drupal/Core/Template/Attribute.php Gets the class attribute value if set.
Attribute::hasClass function core/lib/Drupal/Core/Template/Attribute.php Checks if the class array has the given CSS class.
Attribute::removeClass function core/lib/Drupal/Core/Template/Attribute.php Removes argument values from array of existing CSS classes.
AttributeBase::$class property core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php The class used for this attribute class.
AttributeBase::getClass function core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php Gets the class of the attribute class.
AttributeBase::setClass function core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php Sets the class of the attributed class.
AttributeBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getClass
@covers ::setClass
AttributeClass class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/AttributeClass.php
AttributeClass.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/AttributeClass.php
AttributeClassDiscovery class core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Defines a discovery mechanism to find plugins with attributes.
AttributeClassDiscovery class core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Defines a discovery mechanism to find plugins using attributes.
AttributeClassDiscovery.php file core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php
AttributeClassDiscovery.php file core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php
AttributeClassDiscovery::$directorySuffix property core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php A suffix to append to each PSR-4 directory associated with a base namespace.
AttributeClassDiscovery::$fileCache property core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php The file cache object.
AttributeClassDiscovery::$namespaceSuffix property core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php A suffix to append to each base namespace.
AttributeClassDiscovery::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets the definition of all plugins for this type.
AttributeClassDiscovery::getFileCacheSuffix function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets the file cache suffix.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscovery::getProviderFromNamespace function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Extracts the provider name from a Drupal namespace.
AttributeClassDiscovery::parseClass function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Parses attributes from a class.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::__construct function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Constructs a new instance.
AttributeClassDiscovery::__construct function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Constructs an AttributeClassDiscovery object.
AttributeClassDiscoveryCachedTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery
@group Attribute
@runTestsInSeparateProcesses
AttributeClassDiscoveryCachedTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests that getDefinitions() retrieves the file cache correctly.
AttributeClassDiscoveryTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery
@group Attribute
@runTestsInSeparateProcesses
AttributeClassDiscoveryTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::getDefinitions
@covers ::prepareAttributeDefinition

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