Search for attributes

  1. Search 7.x for attributes
  2. Search 8.9.x for attributes
  3. Search 10.3.x for attributes
  4. Search 11.x for attributes
  5. Other projects
Title Object type File name Summary
TipPluginInterface::getAttributes function core/modules/tour/src/TipPluginInterface.php Returns an array of attributes for the tip wrapper.
TipPluginTextLegacy::getAttributes function core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php @todo remove in https://drupal.org/node/3195193
TwigExtensionTest::testLinkWithOverriddenAttributes function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::getLink
UrlMatcher::getAttributes function core/lib/Drupal/Core/Routing/UrlMatcher.php
UrlTest::testActiveLinkAttributes function core/modules/system/tests/src/Functional/Common/UrlTest.php Tests the active class in links.
UrlTest::testLinkAttributes function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that default and custom attributes are handled correctly on links.
UserAttributesTest class core/modules/rdf/tests/src/Functional/UserAttributesTest.php Tests the RDFa markup of Users.
UserAttributesTest.php file core/modules/rdf/tests/src/Functional/UserAttributesTest.php
UserAttributesTest::$baseUri property core/modules/rdf/tests/src/Functional/UserAttributesTest.php URI of the front page of the Drupal site.
UserAttributesTest::$defaultTheme property core/modules/rdf/tests/src/Functional/UserAttributesTest.php The theme to install as the default for testing.
UserAttributesTest::$modules property core/modules/rdf/tests/src/Functional/UserAttributesTest.php Modules to enable.
UserAttributesTest::setUp function core/modules/rdf/tests/src/Functional/UserAttributesTest.php
UserAttributesTest::testUserAttributesInMarkup function core/modules/rdf/tests/src/Functional/UserAttributesTest.php Tests if default mapping for user is being used.
Xss::attributes function core/lib/Drupal/Component/Utility/Xss.php Processes a string of HTML attributes.
XssTest::providerTestAttributes function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssAdminNotNormalized().
_responsive_image_build_source_attributes function core/modules/responsive_image/responsive_image.module Helper function for template_preprocess_responsive_image().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.