You are here

function entity_example_basic_uri in Examples for Developers 7

Implements the uri callback.

Related topics

1 string reference to 'entity_example_basic_uri'
entity_example_entity_info in entity_example/entity_example.module
Implements hook_entity_info().

File

entity_example/entity_example.module, line 140
Implements the basic functionality required to create and display an entity.

Code

function entity_example_basic_uri($basic) {
  return array(
    'path' => 'examples/entity_example/basic/' . $basic->basic_id,
  );
}