You are here

commerce_stock_ui.routing.yml in Commerce Stock 8

modules/ui/commerce_stock_ui.routing.yml

File

modules/ui/commerce_stock_ui.routing.yml
View source
  1. commerce_stock_ui.stock_transactions1:
  2. path: '/admin/commerce/config/stock/transactions1'
  3. defaults:
  4. _form: '\Drupal\commerce_stock_ui\Form\StockTransactions1'
  5. _title: 'Create stock transaction'
  6. requirements:
  7. _permission: 'use commerce stock transaction form'
  8. commerce_stock_ui.stock_transactions2:
  9. path: '/admin/commerce/config/stock/transactions2'
  10. defaults:
  11. _form: '\Drupal\commerce_stock_ui\Form\StockTransactions2'
  12. _title_callback: '\Drupal\commerce_stock_ui\Form\StockTransactions2::getTitle'
  13. requirements:
  14. _permission: 'use commerce stock transaction form'