public function TwigPluginBase::getType in Twig Extender 8
Same name and namespace in other branches
- 8.4 src/Plugin/Twig/TwigPluginBase.php \Drupal\twig_extender\Plugin\Twig\TwigPluginBase::getType()
- 8.2 src/Plugin/Twig/TwigPluginBase.php \Drupal\twig_extender\Plugin\Twig\TwigPluginBase::getType()
- 8.3 src/Plugin/Twig/TwigPluginBase.php \Drupal\twig_extender\Plugin\Twig\TwigPluginBase::getType()
- 4.x src/Plugin/Twig/TwigPluginBase.php \Drupal\twig_extender\Plugin\Twig\TwigPluginBase::getType()
Get type of the twig extension.
Overrides TwigExtensionInterface::getType
1 call to TwigPluginBase::getType()
- TwigPluginBase::register in src/
Plugin/ Twig/ TwigPluginBase.php - Get type of the twig extension.
File
- src/
Plugin/ Twig/ TwigPluginBase.php, line 15
Class
- TwigPluginBase
- Provides a base class for Twig plugins plugins.
Namespace
Drupal\twig_extender\Plugin\TwigCode
public function getType() {
return $this->pluginDefinition['type'];
}