1 block_example.module block_example_page()

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

Related topics

File

modules/examples/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 layout admin page</a>.', array('@url' => url('/admin/structure/layouts/'))),
  );
  return $page;
}