diff --git a/modules/block/tests/block_test.info b/modules/block/tests/block_test.info new file mode 100644 index 00000000000..3b9b80b2f11 --- /dev/null +++ b/modules/block/tests/block_test.info @@ -0,0 +1,8 @@ +; $Id$ +name = Block test +description = Provides test blocks. +package = Testing +version = VERSION +core = 7.x +files[] = block_test.module +hidden = TRUE diff --git a/modules/block/tests/block_test.module b/modules/block/tests/block_test.module new file mode 100644 index 00000000000..b10994aaaf1 --- /dev/null +++ b/modules/block/tests/block_test.module @@ -0,0 +1,24 @@ + 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', '')); +}