You are here

protected function BlockEntity::defaultUri in Views Hacks 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

views_block/views_block.module, line 122

Class

BlockEntity
Block entity class.

Code

protected function defaultUri() {
  return array(
    'path' => "admin/structure/block/manage/{$this->module}/{$this->delta}/configure",
  );
}