Skip to content

Instantly share code, notes, and snippets.

@juampynr
juampynr / mymodule.php
Last active August 29, 2015 14:07
Database update with Batch API template
<?php
/**
* @file mymodule.install
* Install hooks for mymodule.
*/
/**
* Description of what the database update does. Do not use "Implements..." since it adds
* zero information and makes reading the list of pending database updates in Drush harder
* to read.