You are here

protected function Entityform::defaultUri in Entityform 7.2

Same name and namespace in other branches
  1. 7 entityform.module \Entityform::defaultUri()

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

./entityform.module, line 1099
Module for the Entityform Entity - a starting point to create your own Entity and associated administration interface

Class

Entityform
The class used for entityform entities

Code

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