You are here

function devel_entity_info_page in Devel 7

Page callback: Returns information from hook_entity_info().

Parameters

string $entity_type: (optional) Limit results to the specified entity type. The default is to return information about all entity types. The $entity_type argument is not currently used in the UI.

Return value

The results from kprint_r().

1 string reference to 'devel_entity_info_page'
devel_menu in ./devel.module
Implements hook_menu().

File

./devel.pages.inc, line 188
Page callbacks for Devel.

Code

function devel_entity_info_page($entity_type = NULL) {
  $info = entity_get_info($entity_type);
  ksort($info);
  return kprint_r($info, TRUE);
}