Template.php
Same filename in other branches
- 7.x themes/seven/template.php
- 7.x themes/garland/template.php
- 7.x themes/bartik/template.php
- 7.x modules/simpletest/tests/themes/test_theme/template.php
- 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php
- 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php
Namespace
Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationFile
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ Annotation/ Template.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation;
/** @Annotation */
class Template {
private $name;
public function __construct(array $values) {
$this->name = isset($values['value']) ? $values['value'] : null;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
Template |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.