You are here

function wsclient_ui_entity_info_alter in Web service client 7

Implements hook_entity_info_alter().

File

wsclient_ui/wsclient_ui.module, line 13
Web service client UI - module file.

Code

function wsclient_ui_entity_info_alter(&$entity_info) {

  // Enable the entity API UI controller. See EntityDefaultUIController.
  $entity_info['wsclient_service']['admin ui'] = array(
    'controller class' => 'WSClientUIController',
    'path' => WSCLIENT_UI_PATH,
    'file' => 'wsclient_ui.inc',
    'file path' => drupal_get_path('module', 'wsclient_ui'),
  );

  // Enable URI callback.
  $entity_info['wsclient_service']['uri callback'] = 'wsclient_ui_uri';
}