generate:ajax:command

Generate & Register a custom ajax command

Usage:

drupal generate:ajax:command [options]
gac

Available options

Option Details
--module Numele Modulului.
--class Ajax Class name
--method Custom ajax method
--js-name Custom javascript name