Skip to main content
Home Low Code Generator

Main navigation

  • Home

User account menu

  • Log in

Create controller

Open generator

What is?

https://www.drupal.org/docs/drupal-apis/routing-system/introductory-dru…

The controller returns the page body.

How to use?

Define a new controller class in your module.

Used template: https://github.com/Chi-teck/drupal-code-generator/blob/master/templates…

Technology
Drupal

Search

Tutorials

  • Query the database for entities
  • Create a custom field type
  • Create configuration form
  • Create basic form
  • Create custom field formatter
  • Create custom field widget
  • Create custom service
  • Define permissions for module
  • Create custom page using a controller
  • Add javascript and stylesheet to module
Powered by Drupal

Footer menu

  • Contact