You are here

public function TwigExtension::getName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Template/TwigExtension.php \Drupal\Core\Template\TwigExtension::getName()
1 method overrides TwigExtension::getName()
TestExtension::getName in core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php
Gets a unique identifier for this Twig extension.

File

core/lib/Drupal/Core/Template/TwigExtension.php, line 203
Contains \Drupal\Core\Template\TwigExtension.

Class

TwigExtension
A class providing Drupal Twig extensions.

Namespace

Drupal\Core\Template

Code

public function getName() {
  return 'drupal_core';
}