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
NodeAttributesTest::testNodeAttributes function core/modules/rdf/tests/src/Functional/NodeAttributesTest.php Creates a node of type article and tests its RDFa 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.
QuickEditEntityFieldAccessCheck::validateRequestAttributes function core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php Validates request attributes.
QuickEditJavascriptTestBase::$expectedFieldStateAttributes property core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php
RdfaAttributesTest class core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests RDFa attribute generation from RDF mapping.
RdfaAttributesTest.php file core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php
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 Tests attribute creation for mappings which use 'datatype'.
RdfaAttributesTest::testDatatypeCallback function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests attribute creation for mappings that override human-readable content.
RdfaAttributesTest::testDatatypeCallbackWithConverter function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests attribute creation for mappings which use data converters.
RdfaAttributesTest::testProperty function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests attribute creation for mappings which use 'property'.
RdfaAttributesTest::testRel function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests 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.
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::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.
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.
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.
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 @todo remove in https://drupal.org/node/3195193

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