Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
Template.php
»
Twig_Template
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
abstract public function Twig_Template::getTemplateName
Returns the template name.
Return value
string The template name
1 call to Twig_Template::getTemplateName()
Twig_Template::displayParentBlock
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Template.php
Displays a parent block.
1 method overrides Twig_Template::getTemplateName()
Twig_TemplateTest::getTemplateName
in drupal/
core/
vendor/
twig/
twig/
test/
Twig/
Tests/
TemplateTest.php
Returns the template name.
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Template.php
, line 46
Class
Twig_Template
Default base class for compiled templates.
Code
public abstract
function
getTemplateName
();