Search for all
Title | Object type | File name | Summary |
---|---|---|---|
AttributeInterface | interface | core/ |
Defines a common interface for classed attributes. |
AttributeInterface.php | file | core/ |
|
AttributeInterface::get | function | core/ |
Gets the value of an attribute. |
AttributeInterface::getClass | function | core/ |
Gets the class of the attribute class. |
AttributeInterface::getId | function | core/ |
Gets the unique ID for this attribute class. |
AttributeInterface::getProvider | function | core/ |
Gets the name of the provider of the attribute class. |
AttributeInterface::setClass | function | core/ |
Sets the class of the attributed class. |
AttributeInterface::setProvider | function | core/ |
Sets the name of the provider of the attribute class. |
AttributesTest | class | core/ |
Tests the Drupal\Core\Template\Attribute functionality. |
AttributesTest.php | file | core/ |
|
AttributesTest::providerTestAttributeData | function | core/ |
Provides data for the Attribute test. |
AttributesTest::testAttributeIteration | function | core/ |
Tests attribute iteration. |
AttributesTest::testAttributeValueBaseCopy | function | core/ |
Tests AttributeValueBase copy. |
AttributesTest::testDrupalAttributes | function | core/ |
Tests casting an Attribute object to a string. |
AttributeString | class | core/ |
A class that represents most standard HTML attributes. |
AttributeString.php | file | core/ |
|
AttributeString::__toString | function | core/ |
Implements the magic __toString() method. |
AttributeTest | class | core/ |
@coversDefaultClass \Drupal\Core\Template\Attribute @group Template |
AttributeTest.php | file | core/ |
|
AttributeTest::assertClass | function | core/ |
Checks that the given CSS class is present in the given HTML snippet. |
AttributeTest::assertID | function | core/ |
Checks that the given CSS ID is present in the given HTML snippet. |
AttributeTest::assertNoClass | function | core/ |
Checks that the given CSS class is not present in the given HTML snippet. |
AttributeTest::assertNoID | function | core/ |
Checks that the given CSS ID is not present in the given HTML snippet. |
AttributeTest::getXPathResultCount | function | core/ |
Counts the occurrences of the given XPath query in a given HTML snippet. |
AttributeTest::providerTestAttributeClassHelpers | function | core/ |
Provides tests data for testEscaping. |
AttributeTest::providerTestAttributeValues | function | core/ |
|
AttributeTest::providerTestHasAttribute | function | core/ |
Provides tests data for testHasAttribute. |
AttributeTest::providerTestMerge | function | core/ |
Provides tests data for testMerge. |
AttributeTest::testAdd | function | core/ |
Tests adding new values to an existing part of the attribute. |
AttributeTest::testAddClasses | function | core/ |
Tests adding class attributes with the AttributeArray helper method. @covers ::addClass |
AttributeTest::testAttributeValues | function | core/ |
@covers ::createAttributeValue @dataProvider providerTestAttributeValues |
AttributeTest::testChainAddRemoveClasses | function | core/ |
Tests removing class attributes with the Attribute helper methods. @covers ::removeClass @covers ::addClass |
AttributeTest::testConstructor | function | core/ |
Tests the constructor of the attribute class. |
AttributeTest::testHasAttribute | function | core/ |
@covers ::hasAttribute @dataProvider providerTestHasAttribute |
AttributeTest::testHasClass | function | core/ |
Tests checking for class names with the Attribute method. @covers ::hasClass |
AttributeTest::testIterate | function | core/ |
Tests iterating on the values of the attribute. |
AttributeTest::testMerge | function | core/ |
@covers ::merge @dataProvider providerTestMerge |
AttributeTest::testMergeArgumentException | function | core/ |
@covers ::merge |
AttributeTest::testPrint | function | core/ |
Tests printing of an attribute. |
AttributeTest::testRemove | function | core/ |
Tests removing of values. |
AttributeTest::testRemoveAttribute | function | core/ |
Tests removing attributes. @covers ::removeAttribute |
AttributeTest::testRemoveClasses | function | core/ |
Tests removing class attributes with the AttributeArray helper method. @covers ::removeClass |
AttributeTest::testSet | function | core/ |
Tests set of values. |
AttributeTest::testSetAttribute | function | core/ |
Tests setting attributes. @covers ::setAttribute |
AttributeTest::testStorage | function | core/ |
Tests the storage method. |
AttributeTest::testTwigAddRemoveClasses | function | core/ |
Tests the twig calls to the Attribute. @dataProvider providerTestAttributeClassHelpers |
AttributeValueBase | class | core/ |
Defines the base class for an attribute type. |
AttributeValueBase.php | file | core/ |
|
AttributeValueBase::$name | property | core/ |
The name of the value. |
AttributeValueBase::$value | property | core/ |
The value itself. |
Pagination
- Previous page
- Page 63
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.