You are here

protected function Workflow::defaultUri in Workflow 7.2

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

includes/Entity/Workflow.php, line 696
Contains workflow\includes\Entity\Workflow. Contains workflow\includes\Entity\WorkflowController.

Class

Workflow

Code

protected function defaultUri() {
  $wid = $this->wid;
  return array(
    'path' => WORKFLOW_ADMIN_UI_PATH . "/manage/{$wid}",
  );
}