DeprecatedTokenParser
- Type
- Class
- Namespace
- craft\web\twig\tokenparsers
- Inherits
- craft\web\twig\tokenparsers\DeprecatedTokenParser »
Twig\TokenParser\AbstractTokenParser
- Since
- 3.7.24
Deprecates a section of a template.
{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %}
{% extends 'layout.html.twig' %}
View source (opens new window)
# Public Methods
# getTag()
View source (opens new window)
# parse()
View source (opens new window)
Arguments
$token