This sub-section will guide you through the process of starting the process by creating, naming and correctly placing the .info.yml that becomes the starting point for every new module you create.
If you would like to clone the git repository of the example code contained in this section, you must have git installed and follow the instructions. You can clone git repository using following command:
git clone https://github.com/sidharrell/D8HWexample.git modules/custom/hello_world
All of the files are downloaded by default but you can ‘hide’ them by checking out the ‘skeleton’ version to start with. To check it out, navigate to the module directory and use the following command:
git checkout skeleton
The rest of the branches should line up with the following sub-sections of this guide, and are designed to dovetail into their fuller counterparts in the Examples For Developers module found here.
Similar Posts:
- Drupal: Creating a Computed Entity Field
- How to change Drupal core files
- Install Drupal 8 via composer
- howto drupal 8 URL 301 redirects
- composer require fails because it can’t delete default.services.yml