You are here

function PartyDefaultDataSetUIAdd::get_page_title in Party 7

Same name and namespace in other branches
  1. 8.2 includes/party.data_ui.inc \PartyDefaultDataSetUIAdd::get_page_title()

The page title for the action form.

Overrides PartyDataSetActionInterface::get_page_title

File

includes/party.data_ui.inc, line 75
Provides default classes for UI actions on data sets.

Class

PartyDefaultDataSetUIAdd
The 'add' action: attach a new entity.

Code

function get_page_title($party, $data_set, $eid = NULL) {
  return t("Add new @data-set-label to @party-label", array(
    '@data-set-label' => $data_set['label'],
    '@party-label' => $party->label,
  ));
}