Search for setAttribute
- Search 7.x for setAttribute
- Search 9.5.x for setAttribute
- Search 8.9.x for setAttribute
- Search 10.3.x for setAttribute
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Attribute::setAttribute | function | core/ |
Sets values for an attribute key. |
AttributeTest::testSetAttribute | function | core/ |
Tests setting attributes. @covers ::setAttribute |
Element::setAttributes | function | core/ |
Sets HTML attributes based on element properties. |
ElementInterface::setAttributes | function | core/ |
Sets a form element's class attribute. |
ElementTest::providerTestSetAttributes | function | core/ |
Data provider for testSetAttributes(). |
ElementTest::testSetAttributes | function | core/ |
Tests the setAttributes() method. |
FormElement::setAttributes | function | core/ |
|
RenderElement::setAttributes | function | core/ |
|
RenderElementBase::setAttributes | function | core/ |
|
TwigExtension::setAttribute | function | core/ |
Sets an attribute on a given element. |
TwigExtensionTest::providerTestTwigSetAttribute | function | core/ |
A data provider for ::testTwigSetAttribute(). |
TwigExtensionTest::testTwigSetAttribute | function | core/ |
Tests Twig 'set_attribute' filter. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.