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 11.x 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
ImageLoadingAttributeTest.php file core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php
ImageLoadingAttributeTest.php file core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php
ImageLoadingAttributeTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php The theme to install as the default for testing.
ImageLoadingAttributeTest::$modules property core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php Modules to install.
ImageLoadingAttributeTest::$modules property core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php Modules to install.
ImageLoadingAttributeTest::testImageLoadingAttribute function core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php Tests that loading attribute is enabled for images.
ImageLoadingAttributeTest::testImageLoadingAttribute function core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php Tests that loading attribute is enabled for images.
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.
ImageTestBaselineTrait::testAttributeRetentionDuringUpcasting function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBaselineTrait.php Ensures that attributes are retained on conversion.
ImageTestTestBase::imageAttributes function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestTestBase.php Provides the relevant image attributes.
KernelTestAttributeRouteDiscovery class core/tests/Drupal/KernelTests/KernelTestAttributeRouteDiscovery.php Discovers routes in a kernel test class using Symfony's Route attribute.
KernelTestAttributeRouteDiscovery.php file core/tests/Drupal/KernelTests/KernelTestAttributeRouteDiscovery.php
KernelTestAttributeRouteDiscovery::collectRoutes function core/tests/Drupal/KernelTests/KernelTestAttributeRouteDiscovery.php Creates a collection of routes to add to the route builder.
KernelTestAttributeRouteDiscovery::__construct function core/tests/Drupal/KernelTests/KernelTestAttributeRouteDiscovery.php
LayoutAttributeTest class core/tests/Drupal/Tests/Core/Layout/LayoutAttributeTest.php Tests the Layout attribute.
LayoutAttributeTest.php file core/tests/Drupal/Tests/Core/Layout/LayoutAttributeTest.php
LayoutAttributeTest::testMissingProperties function core/tests/Drupal/Tests/Core/Layout/LayoutAttributeTest.php Test deprecating plugins without a label or category.
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.
MediaSource::$default_name_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the default name.
MediaSource::$thumbnail_alt_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail alt.
MediaSource::$thumbnail_height_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail height.
MediaSource::$thumbnail_title_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail title.
MediaSource::$thumbnail_uri_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail URI.
MediaSource::$thumbnail_width_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail width.
MediaSourceInterface::getMetadataAttributes function core/modules/media/src/MediaSourceInterface.php Gets a list of metadata attributes provided by this plugin.
MediaSourceInterface::METADATA_ATTRIBUTE_LINK_TARGET constant core/modules/media/src/MediaSourceInterface.php Key for "Drupal entity link target" metadata attribute.
MediaTestBase::assertSourceAttributeSame function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php Verifies value of an attribute on the downcast <drupal-media> element.
MethodRouteCondition::attributeMethod function core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php #[Route('/test_method_attribute', 'MethodRouteCondition', condition: "context.getMethod() == 'GET'")]
MethodRouteLocale::attributeMethod function core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php #[Route('/test_method_attribute', 'MethodRouteLocale', locale: 'de')]
MethodRouteLocalizedPaths::attributeMethod function core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php #[Route([
'de' => '/test_method_attribute',
], 'MethodRouteLocalizedPaths')]
MethodRouteMissingName::attributeMethod function core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php #[Route('/test_method_attribute')]
MissingAttributes class core/tests/PHPStan/fixtures/test-classes-missing-attributes.php
MissingAttributesTest class core/tests/fixtures/test_driver/MissingAttributesTest.php
MissingAttributesTest.php file core/tests/fixtures/test_driver/MissingAttributesTest.php
MissingAttributesTest::testNoMetadata function core/tests/fixtures/test_driver/MissingAttributesTest.php
MissingAttributesWithDataProviderTest class core/tests/fixtures/test_driver/MissingAttributesWithDataProviderTest.php
MissingAttributesWithDataProviderTest.php file core/tests/fixtures/test_driver/MissingAttributesWithDataProviderTest.php
MissingAttributesWithDataProviderTest::provider function core/tests/fixtures/test_driver/MissingAttributesWithDataProviderTest.php
MissingAttributesWithDataProviderTest::testNoGroupMetadata function core/tests/fixtures/test_driver/MissingAttributesWithDataProviderTest.php #[DataProvider('provider')]
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
MultipleValueWidgetTest::assertHasFocusByAttribute function core/modules/field/tests/src/FunctionalJavascript/MultipleValueWidgetTest.php Asserts an element specified by an attribute value has focus.

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