Search for addClass
- Search 7.x for addClass
- Search 9.5.x for addClass
- Search 8.9.x for addClass
- Search 11.x for addClass
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Attribute::addClass | function | core/ |
Adds classes or merges them on to array of existing CSS classes. |
AttributeTest::testAddClasses | function | core/ |
Tests adding class attributes with the AttributeArray helper method. @covers ::addClass |
TwigExtension::addClass | function | core/ |
Adds a value into the class attributes of a given element. |
TwigExtensionTest::providerTestTwigAddClass | function | core/ |
Provides data for ::testTwigAddClass(). |
TwigExtensionTest::testTwigAddClass | function | core/ |
Tests Twig 'add_class' filter. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.