class Attributes

Annotation that can be used to signal to the parser to check the types of all declared attributes during the parsing process.

Hierarchy

  • class \Drupal\Component\Annotation\Doctrine\Annotation\Attributes

Expanded class hierarchy of Attributes

Related topics

1 file declares its use of Attributes
DocParser.php in core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
This class is a near-copy of Doctrine\Common\Annotations\DocParser, which is part of the Doctrine project: <http://www.doctrine-project.org&gt;. It was copied from version 1.2.7.
36 string references to 'Attributes'
badge.component.yml in core/profiles/demo_umami/themes/umami/components/badge/badge.component.yml
core/profiles/demo_umami/themes/umami/components/badge/badge.component.yml
banner.component.yml in core/profiles/demo_umami/themes/umami/components/banner/banner.component.yml
core/profiles/demo_umami/themes/umami/components/banner/banner.component.yml
BlockHtmlTest::setUp in core/modules/block/tests/src/Functional/BlockHtmlTest.php
branding.component.yml in core/profiles/demo_umami/themes/umami/components/branding/branding.component.yml
core/profiles/demo_umami/themes/umami/components/branding/branding.component.yml
card.component.yml in core/profiles/demo_umami/themes/umami/components/card/card.component.yml
core/profiles/demo_umami/themes/umami/components/card/card.component.yml

... See full list

1 class is annotated with Attributes
Enum in core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Enum.php
Annotation that can be used to signal to the parser to check the available values during the parsing process.

File

core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attributes.php, line 35

Namespace

Drupal\Component\Annotation\Doctrine\Annotation
View source
final class Attributes {
  /** @var array<Attribute> */
  public $value;

}

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