You are here

protected function Box::defaultUri in Boxes 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

1 call to Box::defaultUri()
Box::url in includes/boxes.core.inc
URL string

File

includes/boxes.core.inc, line 228
Box classes and plugin interface

Class

Box
The Box entity class

Code

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