Skip to content
Permalink
Browse files

1479 pattern option (#212)

* Replace wrong help text for debug.test.yml

* Add error message for not existing views

* Add translation and examples for a new option pattern
  • Loading branch information...
LOBsTerr authored and enzolutions committed Apr 8, 2019
1 parent 6b02fb3 commit 051e3560e4b175c1ed1e6b606a1566e135aa48a8
Showing with 8 additions and 3 deletions.
  1. +2 −1 translations/config.export.view.yml
  2. +6 −2 translations/debug.router.yml
@@ -1,7 +1,8 @@
description: 'Export a view in YAML format inside a provided module to reuse in other website.'
messages:
view_exported: 'View exported sucessfully'
view-exported: 'View exported sucessfully'
depencies-included: 'The following module dependencies were included at "%s"'
wrong-view: 'The view "%s" does not exist'
questions:
view: 'View to be exported'
optional-config: 'Export view in module as an optional configuration'
@@ -1,6 +1,8 @@
description: 'Displays current routes for the application or information for a particular route'
arguments:
route-name: 'Route names'
options:
pattern: 'Route pattern'
messages:
name: 'Route name'
class: 'Class path'
@@ -14,10 +16,12 @@ examples:
execution: 'drupal rod'
- description: 'Displays details for the route user.page (/user)'
execution: 'drupal rod user.page'
examples:
- description: 'Shows the routes list on the site'
execution: |
drupal debug:router
- description: 'Display information on the user.login'
execution: |
drupal debug:router user.login
drupal debug:router user.login
- description: 'Display information for the routes by pattern (/user/login)'
execution: |
drupal debug:router --pattern=/user/login

0 comments on commit 051e356

Please sign in to comment.
You can’t perform that action at this time.