generate:ajax:command

Generate & Register a custom ajax command

Usage:

drupal generate:ajax:command  [options]
gac

Available options

OptionDetails

--module

The Module name.

--class

Ajax Class name

--method

Custom ajax method

--js-name

Custom javascript name