![]() ![]() Next we need a controller to return the message and a route to map a URL to the controller. #Drupal console installYou can install the module directly through Drupal Console by executing the following command: $ drupal module:install welcome Create Controller and route Thanks to Drupal Console, there’s no need to go inside the admin panel->modules. This file is required by Drupal 8 to know that the module exists. To check the module’s details, navigate to the module folder and you will find a file name with the following pattern ‘module_’. Now if you navigate to the the /modules/custom directory, you should see your welcome module’s folder there.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |