Search for addClass
- Search 7.x for addClass
- Search 9.5.x for addClass
- Search 8.9.x for addClass
- Search 10.3.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. |
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.