Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
AttributeInterface::get function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Gets the value of an attribute.
AttributeInterface::getClass function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Gets the class of the attribute class.
AttributeInterface::getDependencies function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Gets the dependencies for this attribute class.
AttributeInterface::getId function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Gets the unique ID for this attribute class.
AttributeInterface::getProvider function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Gets the name of the provider of the attribute class.
AttributeInterface::setClass function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Sets the class of the attributed class.
AttributeInterface::setDependencies function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Sets the dependencies for this attribute class.
AttributeInterface::setProvider function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Sets the name of the provider of the attribute class.
Attributes class core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attributes.php Annotation that can be used to signal to the parser
to check the types of all declared attributes during the parsing process.
Attributes.php file core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attributes.php This class is a near-copy of
Doctrine\Common\Annotations\Annotation\Attributes, which is part of the
Doctrine project: <http://www.doctrine-project.org>. It was copied from
version 2.0.2.
Attributes::$value property core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attributes.php @var array<Attribute>
AttributesTest class core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests the Drupal\Core\Template\Attribute functionality.
AttributesTest.php file core/tests/Drupal/Tests/Core/Common/AttributesTest.php
AttributesTest::providerTestAttributeData function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Provides data for the Attribute test.
AttributesTest::testAttributeIteration function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests attribute iteration.
AttributesTest::testAttributeValueBaseCopy function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests AttributeValueBase copy.
AttributesTest::testDrupalAttributes function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests casting an Attribute object to a string.
AttributeString class core/lib/Drupal/Core/Template/AttributeString.php A class that represents most standard HTML attributes.
AttributeString.php file core/lib/Drupal/Core/Template/AttributeString.php
AttributeString::__toString function core/lib/Drupal/Core/Template/AttributeString.php Implements the magic __toString() method.
AttributeTest class core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests Drupal\Core\Template\Attribute.
AttributeTest.php file core/tests/Drupal/Tests/Core/Template/AttributeTest.php
AttributeTest::assertClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is present in the given HTML snippet.
AttributeTest::assertID function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS ID is present in the given HTML snippet.
AttributeTest::assertNoClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is not present in the given HTML snippet.
AttributeTest::assertNoID function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS ID is not present in the given HTML snippet.
AttributeTest::getXPathResultCount function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Counts the occurrences of the given XPath query in a given HTML snippet.
AttributeTest::providerTestAttributeClassHelpers function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testEscaping.
AttributeTest::providerTestAttributeValues function core/tests/Drupal/Tests/Core/Template/AttributeTest.php
AttributeTest::providerTestHasAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testHasAttribute.
AttributeTest::providerTestMerge function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testMerge.
AttributeTest::testAdd function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding new values to an existing part of the attribute.
AttributeTest::testAddClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding class attributes with the AttributeArray helper method.
AttributeTest::testAttributeValues function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests attribute values.
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
AttributeTest::testConstructor function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the constructor of the attribute class.
AttributeTest::testHasAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests has attribute.
AttributeTest::testHasClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests checking for class names with the Attribute method.
AttributeTest::testIterate function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests iterating on the values of the attribute.
AttributeTest::testMerge function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests merge.
AttributeTest::testMergeArgumentException function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests merge argument exception.
AttributeTest::testPrint function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests printing of an attribute.
AttributeTest::testRemove function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing of values.
AttributeTest::testRemoveAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing attributes.
AttributeTest::testRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the AttributeArray helper method.
AttributeTest::testSet function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests set of values.
AttributeTest::testSetAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests setting attributes.
AttributeTest::testStorage function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the storage method.
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
AttributeValueBase class core/lib/Drupal/Core/Template/AttributeValueBase.php Defines the base class for an attribute type.

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