You are here

protected function WsConfig::defaultUri in Web Service Data 7

Override this in order to implement a custom default URI and specify 'entity_class_uri' as 'uri callback' hook_entity_info().

Overrides Entity::defaultUri

File

modules/wsconfig/wsconfig.entity.inc, line 242
Entity classes

Class

WsConfig
The class used for wsconfig entities

Code

protected function defaultUri() {
  return array(
    'path' => 'wsconfig/' . $this->name,
  );
}