Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
Template.php
»
Twig_Template
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
abstract public function Twig_Template::getTemplateName
Returns the template name.
Return value
string The template name
4 calls to Twig_Template::getTemplateName()
Twig_Template::displayParentBlock
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Template.php
Displays a parent block.
Twig_Template::displayWithErrorHandling
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Template.php
Twig_Template::getAttribute
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Template.php
Returns the attribute value for a given array/object.
Twig_Template::getContext
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Template.php
Returns a variable from the context.
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 45
Class
Twig_Template
Default base class for compiled templates.
Code
public abstract
function
getTemplateName
();