entity_share_ui_server.module in Entity Share 7
Entity Share UI .module file.
File
modules/entity_share_ui/modules/entity_share_ui_server/entity_share_ui_server.moduleView source
<?php
/**
* @file
* Entity Share UI .module file.
*/
/**
* Implements hook_help().
*/
function entity_share_ui_server_help($path, $arg) {
switch ($path) {
case 'admin/help#entity_share_ui_server':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Entity Share Server module allows to configure the security of the Server API.') . '</p>';
return $output;
}
}
/**
* Implements hook_menu().
*/
function entity_share_ui_server_menu() {
$items = array();
$items['admin/config/entity_share/server'] = array(
'type' => MENU_NORMAL_ITEM,
'title' => 'Entity Share Server',
'description' => 'Configure the Entity Share server side',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'entity_share_admin_config_server',
),
'access arguments' => array(
'administer entityshare',
),
'file' => 'entity_share_ui_server.admin.inc',
);
// Add a tab for future evolutions.
$items['admin/config/entity_share/server/security'] = array(
'type' => MENU_DEFAULT_LOCAL_TASK,
'title' => 'Security',
);
return $items;
}
Functions
Name | Description |
---|---|
entity_share_ui_server_help | Implements hook_help(). |
entity_share_ui_server_menu | Implements hook_menu(). |