You are here

public function TestExtension::getName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php \Drupal\twig_extension_test\TwigExtension\TestExtension::getName()

Gets a unique identifier for this Twig extension.

Return value

string A unique identifier for this Twig extension.

Overrides TwigExtension::getName

File

core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php, line 59
Contains \Drupal\twig_extension_test\TwigExtension\TestExtension.

Class

TestExtension
A test Twig extension that adds a custom function and a custom filter.

Namespace

Drupal\twig_extension_test\TwigExtension

Code

public function getName() {
  return 'twig_extension_test.test_extension';
}