Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module: controller_attributes
type: container.definitions
'++ Drupal\controller_attributes\Hook\LinksFromRoutes':
# controller_attributes
# container.definitions
Drupal\controller_attributes\Hook\LinksFromRoutes: !add
class: Symfony\Component\DependencyInjection\Definition
getArguments():
- '@router.route_provider'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# controller_attributes
# summary
links.action: '=='
links.menu: '=='
links.task: '=='
container.definitions: '!='
container.aliases: '=='
container.parameters: '=='
route_paths: '=='
routes: '=='

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module: controller_attributes_test
type: links.action
'++ controller_attributes_test.hello_user_overview.add':
# controller_attributes_test
# links.action
controller_attributes_test.hello_user_overview.add: !add
title: 'Add user'
appears_on:
- controller_attributes_test.hello_user_overview.overview
'++ controller_attributes_test.hello_user_overview.invite':
controller_attributes_test.hello_user_overview.invite: !add
title: 'Invite user'
weight: 10
appears_on:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# controller_attributes_test
# links.menu
controller_attributes_test.hello.goodbye: !add
menu_name: tools
title: Goodbye
description: 'A farewell greeting'
controller_attributes_test.hello.hello: !add
menu_name: tools
title: null
controller_attributes_test.hello_user_overview.overview: !add
menu_name: tools
title: 'List of users'
controller_attributes_test.parent_child.automatic_child: !add
menu_name: tools
title: Parent
parent: controller_attributes_test.parent_child.parent
controller_attributes_test.parent_child.explicit_child: !add
menu_name: tools
title: Parent
parent: controller_attributes_test.parent_child.parent
controller_attributes_test.parent_child.parent: !add
menu_name: tools
title: Parent

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# controller_attributes_test
# links.task
controller_attributes_test.hello_user.delete_user_different_base_route: !add
title: Edit
base_route: entity.user.canonical
controller_attributes_test.hello_user.edit: !add
title: Edit
base_route: controller_attributes_test.hello_user.view
controller_attributes_test.hello_user.invite: !add
title: Invite
base_route: controller_attributes_test.hello_user.view
controller_attributes_test.hello_user.view: !add
title: View
base_route: controller_attributes_test.hello_user.view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module: controller_attributes_test
type: route_paths
# controller_attributes_test
# route_paths
++:
- /controller-attributes-test/goodbye
- /controller-attributes-test/hello
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module: controller_attributes_test
type: routes
'++ /controller-attributes-test/goodbye':
# controller_attributes_test
# routes
/controller-attributes-test/goodbye: !add
controller_attributes_test.hello.goodbye:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloController::goodbye'
options:
_menu_link:
title: Goodbye
description: 'A farewell greeting'
'++ /controller-attributes-test/hello':
/controller-attributes-test/hello: !add
controller_attributes_test.hello.hello:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloController::hello'
options:
_menu_link: { }
'++ /controller-attributes-test/post-or-put/{arg}':
'/controller-attributes-test/post-or-put/{arg}': !add
controller_attributes_test.hello.post_or_put:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloController::postOrPut'
Expand All @@ -31,22 +31,22 @@ type: routes
arg:
type: 'entity:user'
converter: paramconverter.entity
'++ /controller-attributes-test/subdir/hello-in-subdir':
/controller-attributes-test/subdir/hello-in-subdir: !add
controller_attributes_test.subdir.controller_in_subdir.hello:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\Subdir\ControllerInSubdir::hello'
options:
compiler_class: null
utf8: null
'++ /explicit-child':
/explicit-child: !add
controller_attributes_test.parent_child.explicit_child:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\ParentChildController::explicitChild'
options:
_menu_link:
title: Parent
parent: controller_attributes_test.parent_child.parent
'++ /hello/user':
/hello/user: !add
controller_attributes_test.hello_user_overview.overview:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserOverviewController::overview'
Expand All @@ -58,7 +58,7 @@ type: routes
title: 'List of users'
_access_checks:
- access_check.permission
'++ /hello/user/add-user':
/hello/user/add-user: !add
controller_attributes_test.hello_user_overview.add:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserOverviewController::add'
Expand All @@ -72,7 +72,7 @@ type: routes
- controller_attributes_test.hello_user_overview.overview
_access_checks:
- access_check.permission
'++ /hello/user/invite-user':
/hello/user/invite-user: !add
controller_attributes_test.hello_user_overview.invite:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserOverviewController::invite'
Expand All @@ -87,7 +87,7 @@ type: routes
weight: 10
_access_checks:
- access_check.permission
'++ /hello/user/{user}':
'/hello/user/{user}': !add
controller_attributes_test.hello_user.view:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::view'
Expand All @@ -103,7 +103,7 @@ type: routes
converter: paramconverter.entity
_access_checks:
- access_check.default
'++ /hello/user/{user}/delete-different-base-route':
'/hello/user/{user}/delete-different-base-route': !add
controller_attributes_test.hello_user.delete_user_different_base_route:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::deleteUserDifferentBaseRoute'
Expand All @@ -119,7 +119,7 @@ type: routes
converter: paramconverter.entity
_access_checks:
- access_check.default
'++ /hello/user/{user}/edit':
'/hello/user/{user}/edit': !add
controller_attributes_test.hello_user.edit:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::edit'
Expand All @@ -136,7 +136,7 @@ type: routes
converter: paramconverter.entity
_access_checks:
- access_check.default
'++ /hello/user/{user}/invite':
'/hello/user/{user}/invite': !add
controller_attributes_test.hello_user.invite:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::invite'
Expand All @@ -152,14 +152,14 @@ type: routes
converter: paramconverter.entity
_access_checks:
- access_check.default
'++ /parent':
/parent: !add
controller_attributes_test.parent_child.parent:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\ParentChildController::parent'
options:
_menu_link:
title: Parent
'++ /parent/auto-child':
/parent/auto-child: !add
controller_attributes_test.parent_child.automatic_child:
defaults:
_controller: 'Drupal\controller_attributes_test\Controller\ParentChildController::automaticChild'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# controller_attributes_test
# summary
links.action: '!='
links.menu: '!='
links.task: '!='
container.definitions: '=='
container.aliases: '=='
container.parameters: '=='
route_paths: '!='
routes: '!='

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
module: ock_preset
type: container.definitions
'~~ Ock\Ock\Plugin\Registry\PluginRegistryInterface':
# ock_preset
# container.definitions
Ock\Ock\Plugin\Registry\PluginRegistryInterface: !diff
class: Symfony\Component\DependencyInjection\Definition
getClass(): Ock\Ock\Plugin\Registry\PluginRegistry_Buffer
'~~ getArguments()':
'~~ 0':
getArguments(): !diff
- !diff
class: Symfony\Component\DependencyInjection\Definition
getClass(): Ock\Ock\Plugin\Registry\PluginRegistryInterface
getFactory():
- Ock\Ock\Plugin\Registry\PluginRegistry
- fromCandidateObjects
'~~ getArguments()':
'~~ 0':
getArguments(): !diff
- !diff
class: Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument
'~~ getValues()':
getValues(): !diff
- !add '@Drupal\ock_preset\FactsIA\FactsIA_PresetPluginDeclarations'
'++ Drupal\ock_preset\Crud\PresetRepository':
Drupal\ock_preset\Crud\PresetRepository: !add
class: Symfony\Component\DependencyInjection\Definition
getArguments():
- '@config.factory'
getClass(): Drupal\ock_preset\Crud\PresetRepository
isPublic(): true
'++ Drupal\ock_preset\FactsIA\FactsIA_PresetPluginDeclarations':
Drupal\ock_preset\FactsIA\FactsIA_PresetPluginDeclarations: !add
class: Symfony\Component\DependencyInjection\Definition
getArguments():
-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module: ock_preset
type: links.action
'++ ock_preset.iface_presets.add':
# ock_preset
# links.action
ock_preset.iface_presets.add: !add
title: 'Add preset'
appears_on:
- ock_preset.iface_presets.index
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module: ock_preset
type: links.menu
'++ ock_preset.all_presets_overview.index':
# ock_preset
# links.menu
ock_preset.all_presets_overview.index: !add
menu_name: tools
title: 'ock_preset presets'
parent: system.admin_structure
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module: ock_preset
type: links.task
'++ ock_preset.iface_presets.add':
# ock_preset
# links.task
ock_preset.iface_presets.add: !add
title: 'Add preset'
base_route: ock_preset.iface_presets.index
'++ ock_preset.iface_presets.index':
ock_preset.iface_presets.index: !add
title: List
base_route: ock_preset.iface_presets.index
'++ ock_preset.preset.delete':
ock_preset.preset.delete: !add
title: Delete
base_route: ock_preset.preset.edit
'++ ock_preset.preset.edit':
ock_preset.preset.edit: !add
title: Edit
base_route: ock_preset.preset.edit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module: ock_preset
type: route_paths
# ock_preset
# route_paths
++:
- /admin/structure/ock_preset
- '/admin/structure/ock_preset/{interface}'
Expand Down
Loading