You are here

protected function Asset::defaultUri in Asset 7

Override this in order to implement a custom default URI.

Overrides Entity::defaultUri

File

includes/asset.controllers.inc, line 54
Provides a controller classes for Asset and related entities

Class

Asset
Use a separate class for assets so we can specify some defaults.

Code

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