Search for attributes

  1. Search 7.x for attributes
  2. Search 9.5.x for attributes
  3. Search 8.9.x for attributes
  4. Search 11.x for attributes
  5. Other projects
Title Object type File name Summary
LinksetController::processCustomLinkAttributes function core/modules/system/src/Controller/LinksetController.php Process custom link parameters.
MediaEmbedFilterTestBase::assertHasAttributes function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Assert that the SimpleXMLElement object has the given attributes.
MediaSourceInterface::getMetadataAttributes function core/modules/media/src/MediaSourceInterface.php Gets a list of metadata attributes provided by this plugin.
MediaTestBase::assertSourceAttributeSame function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php Verifies value of an attribute on the downcast <drupal-media> element.
MultipleAttributes class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/MultipleAttributes.php
MultipleAttributes.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/MultipleAttributes.php
NavigationMenuMarkupTest::testToolbarButtonAttributes function core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php Tests the generated HTML markup.
OEmbed::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/OEmbed.php Gets a list of metadata attributes provided by this plugin.
PathValidator::getPathAttributes function core/lib/Drupal/Core/Path/PathValidator.php Gets the matched attributes for a given path.
RenderCallbacks::removeTabAttributes function core/modules/announcements_feed/src/RenderCallbacks.php Render callback.
RenderElement::setAttributes function core/lib/Drupal/Core/Render/Element/RenderElement.php Sets a form element's class attribute.
RenderElementBase::setAttributes function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Sets a form element's class attribute.
route_special_attributes_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber
SearchInterface::getAttributes function core/modules/search/src/Plugin/SearchInterface.php Returns the currently set attributes (from the request).
SearchLanguageTest::testLanguageAttributes function core/modules/search/tests/src/Functional/SearchLanguageTest.php Test language attribute "lang" for the search results.
SearchPluginBase::$searchAttributes property core/modules/search/src/Plugin/SearchPluginBase.php Array of attributes - usually from the request object.
SearchPluginBase::getAttributes function core/modules/search/src/Plugin/SearchPluginBase.php Returns the currently set attributes (from the request).
SourceEditingTest::doTestAllowingExtraAttributes function core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php Tests extra attributes with a specific data set.
SourceEditingTest::providerAllowingExtraAttributes function core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php Data provider for ::testAllowingExtraAttributes().
SourceEditingTest::testAllowingExtraAttributes function core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php Tests allowing extra attributes on already supported tags using GHS.
SpecialAttributesRouteSubscriber class core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Provides a route subscriber which checks for invalid pattern variables.
SpecialAttributesRouteSubscriber.php file core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php
SpecialAttributesRouteSubscriber::alterRoutes function core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Alters existing routes for a specific collection.
SpecialAttributesRouteSubscriber::onAlterRoutes function core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Delegates the route altering to self::alterRoutes().
SpecialAttributesRouteSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber
@group EventSubscriber
SpecialAttributesRouteSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with invalid route variables.
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with valid route variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for invalid variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for valid variables.
Standard::filterXssDataAttributes function core/modules/editor/src/EditorXssFilter/Standard.php Applies a very permissive XSS/HTML filter to data-attributes.
StaticReflectionParser::$classAttributes property core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php The class attributes.
Test::getMetadataAttributes function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Gets a list of metadata attributes provided by this plugin.
TestAttributesBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php Provides a 'TestAttributes' block.
TestAttributesBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestAttributesBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestAttributesBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php Builds and returns the renderable array for this block plugin.
TestSessionBag::$attributes property core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Storage for data to save.
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.
UserLoginTest::testAutocompleteHtmlAttributes function core/modules/user/tests/src/Functional/UserLoginTest.php Tests that user login form has the autocomplete attributes.
WorkspacesLazyBuilders::removeTabAttributes function core/modules/workspaces/src/WorkspacesLazyBuilders.php Render callback for the workspace toolbar tab.
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.