added actions links to admin pages

This commit is contained in:
2019-02-22 22:14:01 +01:00
parent 59b07a5ca4
commit 3e15f40066
4 changed files with 72 additions and 13 deletions

View File

@@ -0,0 +1,61 @@
editors_menus.material_add:
route_name: node.add
route_parameters:
node_type: 'materiau'
title: 'Add Material'
appears_on:
- view.admin_nodes.page_1
editors_menus.article_add:
route_name: node.add
route_parameters:
node_type: 'article'
title: 'Add Article'
appears_on:
- view.admin_nodes.page_2
editors_menus.company_add:
route_name: entity.taxonomy_term.add_form
route_parameters:
taxonomy_vocabulary: 'company'
title: 'Add Companie'
appears_on:
- view.admin_taxo.page_1
editors_menus.showroom_add:
route_name: entity.taxonomy_term.add_form
route_parameters:
taxonomy_vocabulary: 'showroom'
title: 'Add Showroom'
appears_on:
- view.admin_taxo.page_2
editors_menus.user_add:
route_name: user.admin_create
title: 'Add User'
appears_on:
- view.admin_users.page_1
# editors_menus.simplenews_daily_add:
# route_name: node.add
# route_parameters:
# node_type: 'simplenews_issue'
# title: 'Add Daily'
# appears_on:
# - view.simplenews_newsletters.page_1
#
# editors_menus.simplenews_newsletter_add:
# route_name: node.add
# route_parameters:
# node_type: 'simplenews_issue'
# title: 'Add Newletter'
# appears_on:
# - view.simplenews_newsletters.page_1
#
# editors_menus.simplenews_companies_add:
# route_name: node.add
# route_parameters:
# node_type: 'simplenews_issue'
# title: 'Add Companies mailing'
# appears_on:
# - view.simplenews_newsletters.page_1