You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface has a single method so if you create a class with phpstorm , implement the interface that adds the stub. That would indeed be the temple if this were implemented and the only thing I can imagine adding would be that render returns an array which has a command key and we could ask for the command. Is there anything else you envision would be helpful here?
I just read through https://weknowinc.com/blog/creating-custom-ajax-command-drupal-8 as I need a custom AJAX Command (AjaxResponse).
I first looked into drush gen but couldn't find a command for that.
drupal generate:ajax:command shows:
The command can be found here:
https://github.com/hechoendrupal/drupal-console-en/blob/master/translations/generate.ajax.command.yml
Describe the solution you'd like to propose
Provide a drush gen replacement for that command to generate custom AjaxResponse Commands.
The text was updated successfully, but these errors were encountered: