function AttributeAllowTestClass::allowed
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php \Drupal\Tests\Core\Template\AttributeAllowTestClass::allowed()
Attributes
#[TwigAllowed]
File
-
core/
tests/ Drupal/ Tests/ Core/ Template/ TwigSandboxTest.php, line 190
Class
- AttributeAllowTestClass
- Test class for TwigAllowed attribute.
Namespace
Drupal\Tests\Core\TemplateCode
public function allowed() : string {
return __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.