You are here

public function TwigExtensionTestString::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString::__construct()
  2. 10 core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString::__construct()

File

core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php, line 407

Class

TwigExtensionTestString

Namespace

Drupal\Tests\Core\Template

Code

public function __construct($string) {
  $this->string = $string;
}