You are here

function command_buttons_view in Command Buttons 7

Entity API callback to view a command button.

See also

entity_view()

1 call to command_buttons_view()
command_button_view in ./command_buttons.module
This is just a passthrough for entityname_view().
1 string reference to 'command_buttons_view'
command_buttons_menu in ./command_buttons.module
Implements hook_menu().

File

./command_buttons.module, line 407

Code

function command_buttons_view($entity, $view_mode = 'full', $langcode = LANGUAGE_NONE) {
  return entity_get_controller('command_button')
    ->view($entity, $view_mode, $langcode);
}