Loading package_manager/tests/fixtures/updated_module/1.0.0/updated_module.module +12 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,18 @@ * Contains global functions for testing updates to a .module file. */ /** * Page controller that says hello. * * @return array * A renderable array of the page content. */ function updated_module_hello(): array { return [ '#markup' => 'Hello!', ]; } /** * A test function to test if global functions are reloaded during an update. * Loading package_manager/tests/fixtures/updated_module/1.0.0/updated_module.routing.yml 0 → 100644 +12 −0 Original line number Diff line number Diff line updated_module.changed: path: '/updated-module/changed/pre' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE' updated_module.deleted: path: '/updated-module/deleted' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE' package_manager/tests/fixtures/updated_module/1.1.0/updated_module.module +12 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,18 @@ * Contains global functions for testing updates to a .module file. */ /** * Page controller that says hello. * * @return array * A renderable array of the page content. */ function updated_module_hello(): array { return [ '#markup' => 'Hello!', ]; } /** * A test function to test if global functions are reloaded during an update. * Loading package_manager/tests/fixtures/updated_module/1.1.0/updated_module.routing.yml 0 → 100644 +12 −0 Original line number Diff line number Diff line updated_module.changed: path: '/updated-module/changed/post' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE' updated_module.added: path: '/updated-module/added' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE' package_manager/tests/modules/package_manager_test_api/package_manager_test_api.services.yml +1 −0 Original line number Diff line number Diff line Loading @@ -4,5 +4,6 @@ services: arguments: - '@package_manager.path_locator' - '@state' - '@router.no_access_checks' tags: - { name: event_subscriber } Loading
package_manager/tests/fixtures/updated_module/1.0.0/updated_module.module +12 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,18 @@ * Contains global functions for testing updates to a .module file. */ /** * Page controller that says hello. * * @return array * A renderable array of the page content. */ function updated_module_hello(): array { return [ '#markup' => 'Hello!', ]; } /** * A test function to test if global functions are reloaded during an update. * Loading
package_manager/tests/fixtures/updated_module/1.0.0/updated_module.routing.yml 0 → 100644 +12 −0 Original line number Diff line number Diff line updated_module.changed: path: '/updated-module/changed/pre' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE' updated_module.deleted: path: '/updated-module/deleted' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE'
package_manager/tests/fixtures/updated_module/1.1.0/updated_module.module +12 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,18 @@ * Contains global functions for testing updates to a .module file. */ /** * Page controller that says hello. * * @return array * A renderable array of the page content. */ function updated_module_hello(): array { return [ '#markup' => 'Hello!', ]; } /** * A test function to test if global functions are reloaded during an update. * Loading
package_manager/tests/fixtures/updated_module/1.1.0/updated_module.routing.yml 0 → 100644 +12 −0 Original line number Diff line number Diff line updated_module.changed: path: '/updated-module/changed/post' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE' updated_module.added: path: '/updated-module/added' defaults: _controller: 'updated_module_hello' requirements: _access: 'TRUE'
package_manager/tests/modules/package_manager_test_api/package_manager_test_api.services.yml +1 −0 Original line number Diff line number Diff line Loading @@ -4,5 +4,6 @@ services: arguments: - '@package_manager.path_locator' - '@state' - '@router.no_access_checks' tags: - { name: event_subscriber }