Element::setAttributes |
function |
core/lib/Drupal/Core/Render/Element.php |
Sets HTML attributes based on element properties. |
Attribute::setAttribute |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Sets values for an attribute key. |
RenderElement::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/RenderElement.php |
Sets a form element's class attribute. |
ElementTest::testSetAttributes |
function |
core/tests/Drupal/Tests/Core/Render/ElementTest.php |
Tests the setAttributes() method. |
AttributeTest::testSetAttribute |
function |
core/tests/Drupal/Tests/Core/Template/AttributeTest.php |
Tests setting attributes.
@covers ::setAttribute |
ElementInterface::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/ElementInterface.php |
Sets a form element's class attribute. |
ElementTest::providerTestSetAttributes |
function |
core/tests/Drupal/Tests/Core/Render/ElementTest.php |
Data provider for testSetAttributes(). |
TwigExtensionTest::testTwigSetAttribute |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Tests Twig 'set_attribute' filter. |
TwigExtensionTest::providerTestTwigSetAttribute |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
A data provider for ::testTwigSetAttribute(). |