You are here

protected function Bean::defaultUri in Bean (for Drupal 7) 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

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

File

includes/bean.core.inc, line 247
Bean classes and plugin interface

Class

Bean
The Bean entity class

Code

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