You are here

simplify_menu_test.module in Simplify Menu 8.2

Module to support web tests.

File

modules/simplify_menu_test/simplify_menu_test.module
View source
<?php

/**
 * @file
 * Module to support web tests.
 */

/**
 * Implements hook_page_top().
 */
function simplify_menu_test_page_top(array &$page_top) {
  $page_top['simplify_menu_test'] = [
    '#theme' => 'simplify_menu_test',
  ];
}

/**
 * Implements hook_theme().
 */
function simplify_menu_test_theme() {
  return [
    'simplify_menu_test' => [
      'path' => drupal_get_path('module', 'simplify_menu_test') . '/templates',
      'variables' => [
        'content' => NULL,
      ],
    ],
  ];
}

Functions