class TwigExtensionTestString
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString
- 10 core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString
- 11.x core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString
Hierarchy
- class \Drupal\Tests\Core\Template\TwigExtensionTestString
Expanded class hierarchy of TwigExtensionTestString
File
-
core/
tests/ Drupal/ Tests/ Core/ Template/ TwigExtensionTest.php, line 429
Namespace
Drupal\Tests\Core\TemplateView source
class TwigExtensionTestString {
protected $string;
public function __construct($string) {
$this->string = $string;
}
public function __toString() {
return $this->string;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TwigExtensionTestString::$string | protected | property | |
TwigExtensionTestString::__construct | public | function | |
TwigExtensionTestString::__toString | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.