Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| AttributeArray::offsetExists | function | core/ |
#[\ReturnTypeWillChange] |
| AttributeArray::offsetGet | function | core/ |
#[\ReturnTypeWillChange] |
| AttributeArray::offsetSet | function | core/ |
#[\ReturnTypeWillChange] |
| AttributeArray::offsetUnset | function | core/ |
#[\ReturnTypeWillChange] |
| AttributeArray::RENDER_EMPTY_ATTRIBUTE | constant | core/ |
Ensures empty array as a result of array_filter will not print '$name=""'. |
| AttributeArray::__toString | function | core/ |
Implements the magic __toString() method. |
| AttributeBoolean | class | core/ |
A class that defines a type of boolean HTML attribute. |
| AttributeBoolean.php | file | core/ |
|
| AttributeBoolean::render | function | core/ |
Returns a string representation of the attribute. |
| AttributeBoolean::__toString | function | core/ |
Implements the magic __toString() method. |
| AttributeHelper | class | core/ |
Helper class to deal with mixed array and Attribute operations. |
| AttributeHelper.php | file | core/ |
|
| AttributeHelper::attributeExists | function | core/ |
Checks if the given attribute collection has an attribute. |
| AttributeHelper::mergeCollections | function | core/ |
Merges two attribute collections. |
| AttributeHelper::__construct | function | core/ |
This class should not be instantiated. |
| AttributeHelperTest | class | core/ |
@coversDefaultClass \Drupal\Core\Template\AttributeHelper[[api-linebreak]] @group Template |
| AttributeHelperTest.php | file | core/ |
|
| AttributeHelperTest::providerTestAttributeExists | function | core/ |
Provides tests data for testAttributeExists. |
| AttributeHelperTest::providerTestMergeCollections | function | core/ |
Provides tests data for testMergeCollections. |
| AttributeHelperTest::testAttributeExists | function | core/ |
@covers ::attributeExists[[api-linebreak]] @dataProvider providerTestAttributeExists |
| AttributeHelperTest::testMergeCollections | function | core/ |
@covers ::mergeCollections[[api-linebreak]] @dataProvider providerTestMergeCollections |
| AttributeHelperTest::testMergeCollectionsArgumentException | function | core/ |
@covers ::mergeCollections[[api-linebreak]] |
| 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[[api-linebreak]] @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[[api-linebreak]] |
| AttributeTest::testAttributeValues | function | core/ |
@covers ::createAttributeValue[[api-linebreak]] @dataProvider providerTestAttributeValues |
| AttributeTest::testChainAddRemoveClasses | function | core/ |
Tests removing class attributes with the Attribute helper methods. @covers ::removeClass[[api-linebreak]] @covers ::addClass[[api-linebreak]] |
| AttributeTest::testConstructor | function | core/ |
Tests the constructor of the attribute class. |
| AttributeTest::testHasAttribute | function | core/ |
@covers ::hasAttribute[[api-linebreak]] @dataProvider providerTestHasAttribute |
| AttributeTest::testHasClass | function | core/ |
Tests checking for class names with the Attribute method. @covers ::hasClass[[api-linebreak]] |
| AttributeTest::testIterate | function | core/ |
Tests iterating on the values of the attribute. |
Pagination
- Previous page
- Page 59
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.