Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
30 lines (27 loc) · 727 Bytes

generate-jstest.md

File metadata and controls

30 lines (27 loc) · 727 Bytes

generate:jstest

Generate a JavaScript test.

Usage:

drupal generate:jstest [options]
gjt

Available options

Option Details
--module Numele Modulului.
--class JavaScript test Class name

Examples

  • Generate a module specifying the module name, machine name, the path, its description, drupal core and the package name. In this example the composer file, the unit test and twig template are generated too
drupal generate:module  \
  --module="modulename"  \
  --machine-name="modulename"  \
  --module-path="/modules/custom"  \
  --description="My Awesome Module"  \
  --core="8.x"  \
  --package="Custom"  \
  --module-file  \
  --composer  \
  --test  \
  --twigtemplate