public property TwigPlugin::$type in Twig Extender 8
Same name and namespace in other branches
- 8.4 src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
- 8.2 src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
- 8.3 src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
- 4.x src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
The twig plugin type.
Available options:
- filter: A twig filter plugin
- function: A twig function.
Type: string
File
- src/
Annotation/ TwigPlugin.php, line 31
Class
- TwigPlugin
- Defines a TwigPlugin annotation object.
Namespace
Drupal\twig_extender\AnnotationCode
public $type = 'filter';