New answers tagged

0

The answer provided by Shawn works great, but if you would prefer to have separate controllers per content type eg. PageController, ArticleController etc. This is achievable by the Kernel Subscriber. services: app.kernel_subscriber: class: Drupal\app\EventSubscriber\KernelSubscriber arguments: ['@controller_resolver'] tags: - { name: ...


Top 50 recent answers are included