function entity_example_info_page

Basic information for the page.

Related topics

1 string reference to 'entity_example_info_page'
entity_example_menu in entity_example/entity_example.module
Implements hook_menu().

File

entity_example/entity_example.module, line 219

Code

function entity_example_info_page() {
    $content['preface'] = array(
        '#type' => 'item',
        '#markup' => t('The entity example provides a simple example entity.'),
    );
    if (user_access('administer entity_example_basic entities')) {
        $content['preface']['#markup'] = t('You can administer these and add fields and change the view !link.', array(
            '!link' => l(t('here'), 'admin/structure/entity_example_basic/manage'),
        ));
    }
    $content['table'] = entity_example_basic_list_entities();
    return $content;
}