function wsclient_entity_info in Web service client 7
Implements hook_entity_info().
File
- ./
wsclient.module, line 29 - Web service client - module file.
Code
function wsclient_entity_info() {
return array(
'wsclient_service' => array(
'label' => t('Web service description'),
'entity class' => 'WSClientServiceDescription',
'controller class' => 'EntityAPIControllerExportable',
'base table' => 'wsclient_service',
'module' => 'wsclient',
'fieldable' => FALSE,
'entity keys' => array(
'id' => 'id',
'name' => 'name',
'label' => 'label',
),
'exportable' => TRUE,
'access callback' => 'wsclient_entity_access',
'features controller class' => 'WSClientFeaturesController',
),
);
}