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
FilterHtmlTest::providerFilterAttributes function core/modules/filter/tests/src/Unit/FilterHtmlTest.php Provides data for testfilterAttributes.
FilterHtmlTest::testfilterAttributes function core/modules/filter/tests/src/Unit/FilterHtmlTest.php @covers ::filterAttributes
FilterSettings::$allowedHtmlDefaultAttributes property core/modules/filter/src/Plugin/migrate/process/FilterSettings.php Default attributes for migrating filter_html's 'allowed_html' setting.
FilterTestRestrictTagsAndAttributes class core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestRestrictTagsAndAttributes.php Provides a test filter to restrict HTML tags and attributes.
FilterTestRestrictTagsAndAttributes.php file core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestRestrictTagsAndAttributes.php
FilterTestRestrictTagsAndAttributes::getHTMLRestrictions function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestRestrictTagsAndAttributes.php Returns HTML allowed by this filter's configuration.
FilterTestRestrictTagsAndAttributes::process function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestRestrictTagsAndAttributes.php Performs the filter processing.
FormElementLabelTest::testAttributes function core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php Ensures that attributes can be placed for form element label.
FormElementMaxlengthTest::testAttributes function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Ensures maxlength attribute can be used in compatible elements.
Html::$uriAttributes property core/lib/Drupal/Component/Utility/Html.php All attributes that may contain URIs.
HtmlAttributesTest class core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Tests attributes inserted in the 'html' and 'body' elements on the page.
HtmlAttributesTest.php file core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php
HtmlAttributesTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php The theme to install as the default for testing.
HtmlAttributesTest::$modules property core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Modules to enable.
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.
Image::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/Image.php Gets a list of metadata attributes provided by this plugin.
ImageFieldAttributesTest class core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php Tests the RDFa markup of imagefields.
ImageFieldAttributesTest.php file core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php
ImageFieldAttributesTest::$baseUri property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php URI of the front page of the Drupal site.
ImageFieldAttributesTest::$defaultTheme property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php The theme to install as the default for testing.
ImageFieldAttributesTest::$fieldName property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php The name of the image field used in the test.
ImageFieldAttributesTest::$file property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php The file object used in the test.
ImageFieldAttributesTest::$modules property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php Modules to enable.
ImageFieldAttributesTest::$node property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php The node object used in the test.
ImageFieldAttributesTest::setUp function core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php
ImageFieldAttributesTest::testNodeTeaser function core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php Tests that image fields in teasers have correct resources.
ImageFieldValidateTest::testRequiredAttributes function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Test that required alt/title fields gets validated right.
KernelTestBase::$backupStaticAttributes property core/tests/Drupal/KernelTests/KernelTestBase.php Back up and restore static class properties that may be changed by tests.
KernelTestBase::$backupStaticAttributesBlacklist property core/tests/Drupal/KernelTests/KernelTestBase.php Contains a few static class properties for performance.
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.
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.
NodeAttributesTest class core/modules/rdf/tests/src/Functional/NodeAttributesTest.php Tests the RDFa markup of Nodes.
NodeAttributesTest.php file core/modules/rdf/tests/src/Functional/NodeAttributesTest.php
NodeAttributesTest::$baseUri property core/modules/rdf/tests/src/Functional/NodeAttributesTest.php URI of the front page of the Drupal site.
NodeAttributesTest::$defaultTheme property core/modules/rdf/tests/src/Functional/NodeAttributesTest.php The theme to install as the default for testing.
NodeAttributesTest::$modules property core/modules/rdf/tests/src/Functional/NodeAttributesTest.php Modules to enable.
NodeAttributesTest::setUp function core/modules/rdf/tests/src/Functional/NodeAttributesTest.php
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

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