public function Twig_TokenParser_Sandbox::getTag in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/TokenParser/Sandbox.php \Twig_TokenParser_Sandbox::getTag()
Gets the tag name associated with this token parser.
Return value
string The tag name
Overrides Twig_TokenParserInterface::getTag
1 call to Twig_TokenParser_Sandbox::getTag()
- Twig_TokenParser_Sandbox::parse in vendor/
twig/ twig/ lib/ Twig/ TokenParser/ Sandbox.php - Parses a token and returns a node.
File
- vendor/
twig/ twig/ lib/ Twig/ TokenParser/ Sandbox.php, line 52
Class
- Twig_TokenParser_Sandbox
- Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
Code
public function getTag() {
return 'sandbox';
}