class AttributeAllowTestClass
Test class for TwigAllowed attribute.
Hierarchy
- class \Drupal\Tests\Core\Template\AttributeAllowTestClass
Expanded class hierarchy of AttributeAllowTestClass
File
-
core/
tests/ Drupal/ Tests/ Core/ Template/ TwigSandboxTest.php, line 188
Namespace
Drupal\Tests\Core\TemplateView source
class AttributeAllowTestClass {
public function allowed() : string {
return __METHOD__;
}
public function notAllowed() : string {
return __METHOD__;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.