Skip to main content


Showing posts from September, 2014

Drupal 8 Tutorials : Custom Module

Custom Module development in Drupal 8 is very simple. It may looks very difficult for developer who has Drupal 7 experience or nothing at all. This tutorial will show easy steps and helps you to create custom module within few minutes. Note: Content or example of this tutorial may change according to Drupal 8 version and its release. This tutorial is divided into three small sections. In first section of this tutorial we will see what directory structure we need to create for a custom module. In second section we will see what type files we need to create. And in last section we will see what code we need to write in those files and configure them in Drupal 8. 1 Directory Structure All custom module in Drupal 8 reside under “module” directory of Drupal 8 project. To create a custom module we will create a new directory named “document” under custom folder. Following is directory structure. 2 Configuration files Secon