Search for attributes

  1. Search 7.x for attributes
  2. Search 9.5.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
RdfaAttributesTest::$modules property core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Modules to enable.
RdfaAttributesTest::testDatatype function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Test attribute creation for mappings which use 'datatype'.
RdfaAttributesTest::testDatatypeCallback function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Test attribute creation for mappings which override human-readable content.
RdfaAttributesTest::testDatatypeCallbackWithConverter function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Test attribute creation for mappings which use data converters.
RdfaAttributesTest::testProperty function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Test attribute creation for mappings which use 'property'.
RdfaAttributesTest::testRel function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Test attribute creation for mappings which use 'rel'.
RdfaAttributesTest::_testAttributes function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Helper function to test attribute generation.
rdf_rdfa_attributes function core/modules/rdf/rdf.module Builds an array of RDFa attributes for a given mapping.
RenderElement::setAttributes function core/lib/Drupal/Core/Render/Element/RenderElement.php Sets a form element's class attribute.
RendererLegacyTest::providerAttributes function core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php Provides a list of attributes to test.
RendererLegacyTest::testHeaderAttributes function core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php Tests deprecation of the drupal_http_header_attributes() function.
responsive_image_build_source_attributes function core/modules/responsive_image/responsive_image.module Helper function for template_preprocess_responsive_image().
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).
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).
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.
TaxonomyAttributesTest class core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php Tests the RDFa markup of Taxonomy terms.
TaxonomyAttributesTest.php file core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php
TaxonomyAttributesTest::$baseUri property core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php URI of the front page of the Drupal site.
TaxonomyAttributesTest::$defaultTheme property core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php The theme to install as the default for testing.
TaxonomyAttributesTest::$modules property core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php Modules to enable.
TaxonomyAttributesTest::$vocabulary property core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php Vocabulary created for testing purposes.
TaxonomyAttributesTest::setUp function core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php
TaxonomyAttributesTest::testTaxonomyTermRdfaAttributes function core/modules/rdf/tests/src/Functional/TaxonomyAttributesTest.php Creates a random term and ensures the RDF output is correct.
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.
TestSessionBag::$attributes property core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Storage for data to save.
TipPluginBase::$attributes property core/modules/tour/src/TipPluginBase.php The attributes that will be applied to the markup of this tip.
TipPluginBase::getAttributes function core/modules/tour/src/TipPluginBase.php Returns an array of attributes for the tip wrapper.
TipPluginInterface::getAttributes function core/modules/tour/src/TipPluginInterface.php Returns an array of attributes for the tip wrapper.
TipPluginText::getAttributes function core/modules/tour/src/Plugin/tour/tip/TipPluginText.php Returns an array of attributes for the tip wrapper.
TwigExtensionTest::testLinkWithOverriddenAttributes function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::getLink
UrlTest::testLinkAttributes function core/modules/system/tests/src/Functional/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.

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