You are here

protected function FieldRulesEntity::defaultUri in Field Rules 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

./field_rules.inc, line 8

Class

FieldRulesEntity

Code

protected function defaultUri() {
  return array(
    'path' => 'admin/structure/types/manage/' . $entity
      ->identifier(),
  );
}