Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| Attribute::offsetGet | function | core/ |
|
| Attribute::offsetSet | function | core/ |
|
| Attribute::offsetUnset | function | core/ |
|
| Attribute::removeAttribute | function | core/ |
Removes an attribute from an Attribute object. |
| Attribute::removeClass | function | core/ |
Removes argument values from array of existing CSS classes. |
| Attribute::setAttribute | function | core/ |
Sets values for an attribute key. |
| Attribute::storage | function | core/ |
Returns the whole array. |
| Attribute::toArray | function | core/ |
Returns all storage elements as an array. |
| Attribute::__clone | function | core/ |
Implements the magic __clone() method. |
| Attribute::__construct | function | core/ |
Constructs a \Drupal\Core\Template\Attribute object. |
| Attribute::__toString | function | core/ |
Implements the magic __toString() method. |
| AttributeArray | class | core/ |
A class that defines a type of Attribute that can be added to as an array. |
| AttributeArray.php | file | core/ |
|
| AttributeArray::exchangeArray | function | core/ |
Exchange the array for another one. |
| AttributeArray::getIterator | function | core/ |
|
| AttributeArray::offsetExists | function | core/ |
|
| AttributeArray::offsetGet | function | core/ |
|
| AttributeArray::offsetSet | function | core/ |
|
| AttributeArray::offsetUnset | function | core/ |
|
| 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/ |
Test attribute iteration |
| AttributesTest::testAttributeValueBaseCopy | function | core/ |
Test 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. |
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.