You are here

function command_buttons_handler_argument_bundle::summary_name in Command Buttons 7

Provides the name to use for the summary.

By default this is just the name field.

Parameters

object $data: The query results for the row.

Return value

string The summary.

Overrides views_handler_argument::summary_name

File

plugins/views/command_buttons_handler_argument_bundle.inc, line 11
Provide views handler arguments for command buttons

Class

command_buttons_handler_argument_bundle
Argument handler to accept a node type.

Code

function summary_name($data) {
  return command_buttons_get_bundle_label($data->{$this->name_alias});
}