You are here

function views_megarow_command_display in Views Megarow 7

Place HTML within the megarow.

Parameters

$title: The title of the megarow.

$html: The html to place within the megarow.

3 calls to views_megarow_command_display()
views_megarow_display in ./views_megarow.module
Displays the provided output in a megarow.
views_megarow_display_form_wrapper in ./views_megarow.module
This callback is just a testing wrapper to display an ajaxified form or its fallback if it's not called through AJAX.
views_megarow_generic_render in ./views_megarow.module
Use a generic menu callback to display non megarow tailored pages.

File

./views_megarow.module, line 334

Code

function views_megarow_command_display($title, $html, $entity_id) {
  if (is_array($html)) {
    $html = drupal_render($html);
  }
  return array(
    'command' => 'megarow_display',
    'entity_id' => $entity_id,
    'title' => $title,
    'output' => $html,
  );
}