You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before working on this task, ensure that you have successfully downloaded Drupal Console by completing this short task: Install Drupal Console
To begin working on this task, create a branch based off of the currently checked out branch using the following convention: proj-me-initials-58
We will create a custom module using the Drupal Console. This custom module will be used to contain our custom blocks which we will be creating in other tasks!
cd to academyvm and then vagrant up
cd to /var/www/dev-1/proj-me and run the following command to create a custom module using Drupal Console: vendor/drupal/console/bin/drupal generate:module.
Drupal Console will not ask you many questions regarding your custom module:
Enter the new module name: Proj-me Core
Enter the module machine name: proj_me_core
Enter the module Path: /modules/custom
Enter module description: Custom module containing custom blocks.
Enter package name: (Just hit Enter on your keyboard and it'll go to the next question)
Enter Drupal Core version: (Just hit Enter on your keyboard and it'll go to the next question)
Do you want to generate a .module file: yes
Define module as feature: no
Do you want to add a composer.json file to your module: no
Would you like to add module dependencies: no
Do you want to generate a unit test class: no
Do you want to generate a themeable template: no
Do you confirm generation: yes.
After the last yes, Drupal Console will list 2 files that were generated. If you did this correctly, you will see that proj_me_core.info.yml and proj_me_core.module files were generated.
Navigate to the extend section of your website and enable your new module!
Upon completion of the task, please commit and push all your work to your fork of the proj-me repository. You do not need to export your configuration for this task. Remember to create a pull request.
Leave a comment on this issue when you:
Start working on this task
Have a question about this task
Complete this task (please comment on this task with a link to your pull request).
The text was updated successfully, but these errors were encountered:
proj-me-initials-58
cd
to academyvm and thenvagrant up
cd
to/var/www/dev-1/proj-me
and run the following command to create a custom module using Drupal Console:vendor/drupal/console/bin/drupal generate:module
.proj_me_core.info.yml
andproj_me_core.module
files were generated.The text was updated successfully, but these errors were encountered: