You are here

protected function EntityformType::defaultUri in Entityform 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

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

Class

EntityformType
The class used for entityform type entities

Code

protected function defaultUri() {
  return array(
    'path' => 'eform/submit/' . str_replace('_', '-', $this->type),
  );
}