generate:twig:extension

Generate a Twig extension.

Usage:

$ drupal generate:twig:extension [options]

Available options

Option Details
--module The Module name.
--name Twig Extension name
--class Class name
--services Load services from the container.