Skip to content

Instantly share code, notes, and snippets.

View jpmcneal's full-sized avatar

JP jpmcneal

  • Portsmouth, NH
View GitHub Profile
#!/usr/bin/env bash
#
# Original source: https://raw.githubusercontent.com/drush-ops/drush/master/examples/drush.wrapper
#
# DRUSH WRAPPER
#
# A wrapper script which launches the Drush that is in your project's /vendor
# directory. Copy it to Drupal root and edit as desired.
# You should rename this script to 'drush', if doing so does not cause a conflict
# (e.g. with a folder __ROOT__/drush).
@jpmcneal
jpmcneal / page.tpl.php
Created September 28, 2015 15:41
D7 Bartik's page.tpl.php
<?php
/**
* @file
* Bartik's theme implementation to display a single Drupal page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.tpl.php template normally located in the
* modules/system directory.
*
@jpmcneal
jpmcneal / html.tpl.php
Created September 28, 2015 15:15
Drupal 7's default html.tpl.php
<?php
/**
* @file
* Default theme implementation to display the basic html structure of a single
* Drupal page.
*
* Variables:
* - $css: An array of CSS files for the current page.
* - $language: (object) The language the site is being displayed in.
@jpmcneal
jpmcneal / page.tpl.php
Created September 28, 2015 15:10
Drupal 7's default page template
<?php
/**
* @file
* Default theme implementation to display a single Drupal page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.tpl.php template in this directory.
*
* Available variables: