Part of #1971384: [META] Convert page callbacks to controllers

For instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kim.pepper’s picture

Status: Active » Needs review
FileSize
4.15 KB

Initial attempt.

kim.pepper’s picture

Shouldn't put an route on MENU_DEFAULT_LOCAL_TASK

ParisLiakos’s picture

Status: Needs review » Needs work

This looks great, thanks! just one small thing

+++ b/core/modules/image/image.routing.ymlundefined
--- /dev/null
+++ b/core/modules/image/lib/Drupal/image/Routing/ImageStyleController.phpundefined

+++ b/core/modules/image/lib/Drupal/image/Routing/ImageStyleController.phpundefined
@@ -0,0 +1,63 @@
+ * Contains \Drupal\image\Routing\ImageStyleController.

the folder should be Controller not Routing, aggregator and views ui got this wrong

andypost’s picture

Status: Needs work » Closed (duplicate)