12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- entity.blog.canonical:
- path: '/blog/{blog}'
- defaults:
- _entity_view: 'blog.full'
- _title: 'Blog'
- _title_callback: '\Drupal\dr8_zth\Controller\BlogController::blogTitle'
- requirements:
- _entity_access: 'blog.view'
- blog: \d+
- entity.blog.add_form:
- path: '/admin/structure/blog/manage/{blog_type}/add'
- defaults:
- _controller: '\Drupal\dr8_zth\Controller\BlogController::addForm'
- _title: 'Add blog'
- requirements:
- _entity_create_access: 'blog:{blog_type}'
- entity.blog.edit_form:
- path: '/blog/{blog}/edit'
- defaults:
- _entity_form: 'blog.default'
- _title: 'Edit blog'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'blog.update'
- blog: \d+
- entity.blog.delete_form:
- path: '/blog/{blog}/delete'
- defaults:
- _entity_form: 'blog.delete'
- _title: 'Delete blog'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'blog.delete'
- blog: \d+
- entity.blog_type.collection:
- path: '/admin/structure/blog'
- defaults:
- _entity_list: 'blog_type'
- _title: 'Blog types'
- requirements:
- _permission: 'administer blog'
- entity.blog_type.add_form:
- path: '/admin/structure/blog/manage/add'
- defaults:
- _entity_form: 'blog_type'
- _title: 'Add blog type'
- requirements:
- _entity_create_access: 'blog_type'
- entity.blog_type.delete_form:
- path: '/admin/structure/blog/manage/{blog_type}/delete'
- defaults:
- _entity_form: 'blog_type.delete'
- _title: 'Delete blog type'
- requirements:
- _entity_access: 'blog_type.delete'
- entity.blog_type.edit_form:
- path: '/admin/structure/blog/manage/{blog_type}'
- defaults:
- _entity_form: 'blog_type.default'
- _title_callback: '\Drupal\dr8_zth\Controller\BlogController::typeTitle'
- requirements:
- _entity_access: 'blog_type.update'
|