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
ActionMethodAttributeTest class core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php Tests Drupal\Core\Config\Action\Attribute\ActionMethod.
ActionMethodAttributeTest.php file core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php
ActionMethodAttributeTest::testInvalidFunctionName function core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php Tests invalid function name.
AddFeedTest::testAttributeAdded function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Tests that the rendered output contains specific attributes.
AdminTest::testPagerAttribute function core/tests/Drupal/FunctionalTests/Theme/AdminTest.php Tests pager attribute is present using pager_test.
AnnotationException::attributeTypeError function core/lib/Drupal/Component/Annotation/Doctrine/AnnotationException.php Creates a new AnnotationException describing an type error of an attribute.
AnnotationWithAttributes class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php Plugin annotation

@Target("ALL")
@Attributes({
@Attribute("mixed", type = "mixed"),
@Attribute("boolean", type = "boolean"),
@Attribute("bool", type = "bool"),
@Attribute("float", …
AnnotationWithAttributes.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$annotation property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$array property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$arrayOfAnnotations property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$arrayOfIntegers property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$arrayOfStrings property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$bool property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$boolean property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$float property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$integer property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$mixed property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$string property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getAnnotation function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getArray function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getArrayOfAnnotations function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getArrayOfIntegers function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getArrayOfStrings function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getBool function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getBoolean function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getFloat function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getInteger function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getMixed function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getString function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::__construct function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithRequiredAttributes class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php Plugin annotation

@Target("ALL")
@Attributes({
@Attribute("value", required = true , type = "string"),
@Attribute("annot", required = true , type =…
AnnotationWithRequiredAttributes.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::$annot property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::getAnnot function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::getValue function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::__construct function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributesWithoutContructor class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php Plugin annotation
@Target("ALL");
AnnotationWithRequiredAttributesWithoutContructor.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php
AnnotationWithRequiredAttributesWithoutContructor::$annot property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php @Required
AnnotationWithRequiredAttributesWithoutContructor::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php @Required
argument_resolver.request_attribute service core/core.services.yml Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver
AttachedAssetsTest::testAggregatedAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that attributes are maintained when JS aggregation is enabled.
AttachedAssetsTest::testAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript files with additional 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.
Attribute class core/lib/Drupal/Core/Template/Attribute.php Collects, sanitizes, and renders HTML attributes.
Attribute.php file core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attribute.php This class is a near-copy of
Doctrine\Common\Annotations\Annotation\Attribute, which is part of the
Doctrine project: <http://www.doctrine-project.org>. It was copied from
version 2.0.2.
Attribute.php file core/lib/Drupal/Core/Template/Attribute.php
Attribute::$name property core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attribute.php @var string

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