You are here

function data_entity_uri in Data 7

Entity URI callback.

1 string reference to 'data_entity_uri'
data_entity_entity_info in data_entity/data_entity.module
Implements hook_entity_info().

File

data_entity/data_entity.module, line 217
data_entity.module TODO: Enter file description here.

Code

function data_entity_uri($data_entity) {
  $entity_type = $data_entity->entity_type;
  list($id, ) = entity_extract_ids($entity_type, $data_entity);
  return array(
    'path' => 'admin/content/data/entity/' . $data_entity->data_table . '/' . $id,
  );
}