Skip to content

Instantly share code, notes, and snippets.

Avatar
💤

Rakesh James rakeshjames

💤
View GitHub Profile
@rakeshjames
rakeshjames / ExampleController.php
Created Sep 30, 2014
Drupal 8 Custom module example
View ExampleController.php
<?php
/**
* @file
* @author Rakesh James
* Contains \Drupal\example\Controller\ExampleController.
* Please place this file under your example(module_root_folder)/src/Controller/
*/
namespace Drupal\example\Controller;
/**
* Provides route responses for the Example module.