Create a simple module for Drupal 8 - Step 1 | Drupal 8

Create a simple module for Drupal 8 - Step 1

Submitted by editor on Fri, 11/13/2015 - 18:44

How to create a simple module with Drupal 8

Module name : Test

Step 1. Create the module folder on module/custom directory
Exemple : module/custom/test

Step 2. Create info file on the root of the module folder (module/custom/test/ and configure. File name must be
Exemple :
name: Test Module
description: 'Short description'
type: module
core: 8.x
varsion: TheVersion

Step 3. Activate the module
OnĀ  admin/modules
Or using drush en test -y

Note : Here the minimum to create a module




Thu, 06/15/2017 - 14:27

I like it, you have explained very nicely.

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.