A new release was published today v0.6.2 this new release include bug fixes and new features that I will mention in this blog post.
Support for new field types on form generation
Add support for select, radio, textarea & checkbox fields in form generator. Thanks to Eduardo García aka @enzo for this feature.
Add multilingual support for generated module commands
Since Drupal modules already have a config directory, the decision to store custom module command translations was adding a new directory and file at that path as example:
my_module\config\translation\console.en.yml # for english my_module\config\translation\console.es.yml # for spanish
Self update command
This command update a phar install with the latest version. Thanks to David Flores aka @dmose for this feature.
$ drupal self-update
Plugin REST resource generator
This command generates a new plugin resource class. Thanks to Eduardo García aka @enzo for this feature.
$ drupal generate:plugin:rest:resource
How to used the new generated REST resource
- Download and Enable Rest UI module https://www.drupal.org/project/restui (git version)
- Enable resource at http://example.com/admin/config/services/rest select format and authentication provider
- Enable the Rest Resource permission to access by role at http://example.com/admin/people/permissions
If you need more information about this topic, I receomend you to read this blog post from enzo http://enzolutions.com/articles/2014/12/16/how-to-create-a-rest-resource-in-drupal-8/
New place for documentation
We moved the Drupal Console documentation to gitbook <http://hechoendrupal.gitbooks.io/drupal-console/ >
Feel free to fork and contribute at the ducumentation repository at github https://github.com/hechoendrupal/drupal-console-book