Skip to content

Instantly share code, notes, and snippets.

View rpayanm's full-sized avatar

Rolando rpayanm

View GitHub Profile
<?php
/**
* @file
* Contains \Drupal\hello\Controller\HelloController.
*/
namespace Drupal\hello\Controller;
/**
hello.hello:
path: '/hello'
defaults:
_controller: '\Drupal\hello\Controller\HelloController::hello'
_title: 'Is anyone here?'
requirements:
_permission: 'access content'
name: Hello Module
description: Creates a page showing "Hello from Drupal 8".
package: Custom
type: module
core: 8.x
@rpayanm
rpayanm / phpinfo.php
Created March 25, 2015 12:40
phpinfo
<?php
phpinfo();