You are here

globallink_beans.module in GlobalLink Connect for Drupal 7.7

Same filename and directory in other branches
  1. 7.6 globallink_beans/globallink_beans.module

To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor.

File

globallink_beans/globallink_beans.module
View source
<?php

/**
 * @file
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Implements hook_menu().
 */
function globallink_beans_menu() {
  $items = array();
  $items['admin/globallink-translations/dashboard/bean'] = array(
    'title' => ' Beans ',
    'page callback' => 'globallink_beans_dashboard',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_LOCAL_TASK,
    'file' => 'globallink_beans_send.inc',
    'weight' => 10,
    'page arguments' => array(
      GLOBALLINK_ENTITY_TYPE_BEAN,
    ),
  );
  $items['admin/globallink-translations/workbench/bean/%sub_id/%lang_id'] = array(
    'title' => 'Beans ',
    'page callback' => 'globallink_dashboard_active_submissions_page',
    'access callback' => 'globallink_access_callback_any',
    'file' => '../globallink_workbench_all_active_submissions.inc',
    'type' => MENU_LOCAL_TASK,
    'page arguments' => array(
      GLOBALLINK_ENTITY_TYPE_BEAN,
    ),
  );
  $items['admin/globallink-translations/dashboard/bean/preview/%/%ctools_js'] = array(
    'title' => 'Preview',
    'page callback' => 'globallink_beans_preview',
    'page arguments' => array(
      5,
    ),
    'file' => 'globallink_beans_send.inc',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_CALLBACK,
  );
  return $items;
}

Functions

Namesort descending Description
globallink_beans_menu Implements hook_menu().