<?php

/**
 * @file
 * Hash Cash plugins for Panels.
 *
 * Copyright (c) 2010-2011 Board of Trustees, Leland Stanford Jr. University
 * This software is open-source licensed under the GNU Public License Version 2 or later
 * The full license is available at http://www.gnu.org/licenses/gpl-2.0.html
 */

/**
 * Implements hook_ctools_plugin_directory().
 */
function panels_hash_cache_ctools_plugin_directory($module, $plugin) {
  return 'plugins/' . $plugin;
}

/**
 * Implements hook_menu().
 */
function panels_hash_cache_menu() {
  $items = array();
  $items['admin/config/system/panels_hash_cache'] = array(
    'title' => 'Panels Hash Cache',
    'description' => 'Adjust Panels Hash Cache settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('panels_hash_cache_admin_settings'),
    'access arguments' => array('administer site configuration'),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'panels_hash_cache.admin.inc',
  );
  return $items;
}
