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. |
ElementInterface::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/ElementInterface.php |
Sets a form element's class attribute. |
AttributeTest::testSetAttribute |
function |
core/tests/Drupal/Tests/Core/Template/AttributeTest.php |
Tests setting attributes.
@covers ::setAttribute |
ElementTest::providerTestSetAttributes |
function |
core/tests/Drupal/Tests/Core/Render/ElementTest.php |
Data provider for testSetAttributes(). |