function PartyDefaultDataSetUIAttach::get_page_title in Party 8.2
Same name and namespace in other branches
- 7 includes/party.data_ui.inc \PartyDefaultDataSetUIAttach::get_page_title()
The page title for the action form.
Overrides PartyDataSetActionInterface::get_page_title
File
- includes/
party.data_ui.inc, line 146 - Provides default classes for UI actions on data sets.
Class
- PartyDefaultDataSetUIAttach
- The 'attach' action: attach an existing entity.
Code
function get_page_title($party, $data_set, $eid = NULL) {
$data_set_controller = party_get_crm_controller($party, $data_set['set_name']);
return t("Attach existing @data-set-label to @party-label", array(
'@data-set-label' => $data_set_controller
->getDataInfo('label'),
'@party-label' => $party->label,
));
}