You are here

function block_example_page in Examples for Developers 7

Simple page function to explain what the block example is about.

Related topics

1 string reference to 'block_example_page'
block_example_menu in block_example/block_example.module
Implements hook_menu().

File

block_example/block_example.module, line 35
Module file for block_example.

Code

function block_example_page() {
  $page = array(
    '#type' => 'markup',
    '#markup' => t('The Block Example provides three sample blocks which demonstrate the various block APIs. To experiment with the blocks, enable and configure them on <a href="@url">the block admin page</a>.', array(
      '@url' => url('admin/structure/block'),
    )),
  );
  return $page;
}