You are here

sharemessage_test.module in Share Message 7

ShareMessage Tests Module.

File

tests/modules/sharemessage_test/sharemessage_test.module
View source
<?php

/**
 * @file
 * ShareMessage Tests Module.
 */

/**
 * Implements hook_menu().
 */
function sharemessage_test_menu() {
  $items = array();
  $items['sharemessage-test/%sharemessage'] = array(
    'title callback' => 'entity_label',
    'title arguments' => array(
      'sharemessage',
      1,
    ),
    'page callback' => 'sharemessage_view',
    'page arguments' => array(
      1,
    ),
    'access callback' => 'sharemessage_access',
    'access arguments' => array(
      'view',
      1,
    ),
  );
  return $items;
}

Functions

Namesort descending Description
sharemessage_test_menu Implements hook_menu().