class Template

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template
  2. 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template
  3. 11.x 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

3 string references to 'Template'
Composer::setTemplateProjectStability in composer/Composer.php
Set the stability of the template projects to match the Drupal version.
ComposerProjectTemplatesTest::testVerifyTemplateTestProviderIsAccurate in core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php
Make sure we've accounted for all the templates.
Registry::processExtension in core/lib/Drupal/Core/Theme/Registry.php
Process a single implementation of hook_theme().

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

Title Sort descending Modifiers Object type Summary
Template::$name private property
Template::__construct public function

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