Search for Attribute

  1. Search 7.x for Attribute
  2. Search 9.5.x for Attribute
  3. Search 8.9.x for Attribute
  4. Search 10.3.x for Attribute
  5. Search main for Attribute
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Attribute class core/lib/Drupal/Core/Template/Attribute.php Collects, sanitizes, and renders HTML attributes.
Attribute class core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attribute.php Annotation that can be used to signal to the parser to check the attribute type during the parsing process.

All search results

Title Object type File name Summary
HtmlAttributesTest::$modules property core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Modules to install.
HtmlAttributesTest::testThemeHtmlAttributes function core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Tests that attributes in the 'html' and 'body' elements can be altered.
HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Formats an attribute string for an HTTP header.
HTMLRestrictions::findElementsOverridingGloballyDisallowedAttributes function core/modules/ckeditor5/src/HTMLRestrictions.php Finds elements overriding globally disallowed attributes.
HTMLRestrictions::getRegExForWildCardAttributeName function core/modules/ckeditor5/src/HTMLRestrictions.php Computes a regular expression for matching a wildcard attribute name.
HTMLRestrictions::isWildcardAttributeName function core/modules/ckeditor5/src/HTMLRestrictions.php Checks whether the given attribute name contains a wildcard, e.g. `data-*`.
Htmx::ATTRIBUTE_PREFIX constant core/lib/Drupal/Core/Htmx/Htmx.php All HTMX attributes begin with this string.
Htmx::buildRequestAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility function for the request attributes.
Htmx::createBooleanAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to create and store a boolean value as an attribute.
Htmx::createJsonAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to create and store an array as an attribute.
Htmx::createStringAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to create and store a string value as an attribute.
Htmx::getAttributes function core/lib/Drupal/Core/Htmx/Htmx.php Get the attribute storage.
Htmx::hasAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Checks if an attribute is set.
Htmx::removeAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Removes an attribute from the attribute store.
HtmxAttributesTest class core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test all attribute-related Htmx public methods.
HtmxAttributesTest.php file core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
HtmxAttributesTest::$htmx property core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Class under test.
HtmxAttributesTest::$url property core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Mocked Url object.
HtmxAttributesTest::apply function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Applies the Htmx attributes to a render array.
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::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::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::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.
HtmxUtilitiesTest::testHasAttribute function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::hasAttribute.
HtmxUtilitiesTest::testRemoveAttribute function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::removeAttribute.
Image::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/Image.php Gets a list of metadata attributes provided by this plugin.
Image::METADATA_ATTRIBUTE_HEIGHT constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image height" metadata attribute.
Image::METADATA_ATTRIBUTE_WIDTH constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image width" metadata attribute.
ImageFieldDisplayTest::testImageLoadingAttribute function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Tests for image loading attribute settings.
ImageFieldValidateTest::testRequiredAttributes function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests that required alt/title fields gets validated right.
ImageLoadingAttributeTest class core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php Tests lazy loading for images.
ImageLoadingAttributeTest class core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php Tests lazy loading for images.
ImageLoadingAttributeTest.php file core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php
ImageLoadingAttributeTest.php file core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php

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