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 10.3.x for attributes
  5. Other projects
Title Object type File name Summary
HtmxAttributesTest::booleanStringDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxPushUrl and :testHxReplaceUrl.
HtmxAttributesTest::hxOnDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxOn.
HtmxAttributesTest::hxSimpleStringAttributesDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxSimpleStringAttributes.
HtmxAttributesTest::hxSwapOobDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxSwapOob.
HtmxAttributesTest::hxValidateDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxValidate.
HtmxAttributesTest::setUp function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
HtmxAttributesTest::testHxBoost function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test boost method.
HtmxAttributesTest::testHxDelete function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test delete method.
HtmxAttributesTest::testHxGet function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test get method.
HtmxAttributesTest::testHxHeaders function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test headers method.
HtmxAttributesTest::testHxOn function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test on method.
HtmxAttributesTest::testHxPatch function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test patch method.
HtmxAttributesTest::testHxPost function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test post method.
HtmxAttributesTest::testHxPushUrl function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test pushUrl method.
HtmxAttributesTest::testHxPushUrlAbsolute function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test pushUrl method with a Url object.
HtmxAttributesTest::testHxPut function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test put method.
HtmxAttributesTest::testHxReplaceUrl function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test replaceUrl method.
HtmxAttributesTest::testHxReplaceUrlAbsolute function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test replaceUrl method with a Url object.
HtmxAttributesTest::testHxRequest function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test request method.
HtmxAttributesTest::testHxSimpleAttributes function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test remaining methods.
HtmxAttributesTest::testHxSwapOob function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test swapOob method.
HtmxAttributesTest::testHxValidate function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test validate method.
HtmxAttributesTest::testHxVals function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test vals method.
HtmxAttributesTest::testSwap function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test swap method.
HtmxUtilitiesTest::testGetAttributes function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::getAttributes.
Image::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/Image.php Gets a list of metadata attributes provided by this plugin.
ImageFieldValidateTest::testRequiredAttributes function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests that required alt/title fields gets validated right.
ImageTestBase::imageAttributes function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php Provides the relevant image attributes.
ImageTestBase::imageAttributesAsString function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php Helper to format attributes.
ImageTestTestBase::imageAttributes function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestTestBase.php Provides the relevant image attributes.
LayoutBuilderBlocksTest::testPluginsProvidingCustomAttributesAndContextualLinks function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests that block plugins can define custom attributes and contextual links.
LayoutBuilderCompatibilityTestBase::assertFieldAttributes function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderCompatibilityTestBase.php Asserts that the rendered entity has the correct fields.
LayoutBuilderTest::testCustomSectionAttributes function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests that sections can provide custom attributes.
Link::$attributes property core/modules/jsonapi/src/JsonApiResource/Link.php The link target attributes.
Link::getTargetAttributes function core/modules/jsonapi/src/JsonApiResource/Link.php Gets the link's target attributes.
LinkGeneratorTest::testGenerateAttributes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with additional attributes.
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 #[\Attribute]
#[AttributeClass]
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.
PreprocessPagerTest::testPagerModalAttributes function core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php Tests pager links get modal attributes when request is in a modal.
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.
RenderElementTest::providerTestSetAttributes function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php Provides test data for testSetAttributes().

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