public function TestExtension::getName in Drupal 9
Same name and namespace in other branches
- 8 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.
File
- core/
modules/ system/ tests/ modules/ twig_extension_test/ src/ TwigExtension/ TestExtension.php, line 56
Class
- TestExtension
- A test Twig extension that adds a custom function and a custom filter.
Namespace
Drupal\twig_extension_test\TwigExtensionCode
public function getName() {
return 'twig_extension_test.test_extension';
}