You are here

function command_buttons_entity_edit_page in Command Buttons 7

Page callback to view a entity.

1 string reference to 'command_buttons_entity_edit_page'
command_buttons_menu in ./command_buttons.module
Implements hook_menu().

File

./command_buttons.admin.inc, line 77

Code

function command_buttons_entity_edit_page($entity) {
  $form_state = array(
    'entity' => $entity,
    'add submit' => TRUE,
  );
  return drupal_build_form('command_buttons_entity_edit_form', $form_state);
}