Commit 00ed8e3e authored by Dries's avatar Dries
Browse files

- Patch #691938 by carlos8f, mr.baileys: block tests

parent 0c363d22
; $Id$
name = Block test
description = Provides test blocks.
package = Testing
version = VERSION
core = 7.x
files[] = block_test.module
hidden = TRUE
<?php
// $Id$
/**
* @file
* Provide test blocks.
*/
/**
* Implements hook_block_info().
*/
function block_test_block_info() {
$blocks['test_cache'] = array(
'info' => t('Test block caching'),
);
return $blocks;
}
/**
* Implements hook_block_view().
*/
function block_test_block_view($delta = 0) {
return array('content' => variable_get('block_test_content', ''));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment