You are here

public property TwigPlugin::$type in Twig Extender 8

Same name and namespace in other branches
  1. 8.4 src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
  2. 8.2 src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
  3. 8.3 src/Annotation/TwigPlugin.php \Drupal\twig_extender\Annotation\TwigPlugin::type
  4. 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\Annotation

Code

public $type = 'filter';