You are here

class Template in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template

Hierarchy

  • class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template

Expanded class hierarchy of Template

Related topics

1 string reference to 'Template'
Composer::setTemplateProjectStability in composer/Composer.php
Set the stability of the template projects to match the Drupal version.

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php, line 6

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation
View source
class Template {
  private $name;
  public function __construct(array $values) {
    $this->name = isset($values['value']) ? $values['value'] : null;
  }

}

Members