You are here

public function PartyDataSetActionInterface::get_page_title in Party 7

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

Get the page title for the action form.

@todo: consider moving this to the data set action definition, where the local action label is already defined.

Parameters

$party: A loaded party object.

$data_set: A loaded data set. We don't actually need this loaded, but we need a menu loader to convert the path-style string to the machine name, and a menu loader that doesn't load would be weird too.

$eid: The id of the entity, if relevant to this action.

Return value

A localized string.

2 methods override PartyDataSetActionInterface::get_page_title()
PartyDefaultDataSetUIAdd::get_page_title in includes/party.data_ui.inc
The page title for the action form.
PartyDefaultDataSetUIAttach::get_page_title in includes/party.data_ui.inc
The page title for the action form.

File

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

Class

PartyDataSetActionInterface
The interface for action UI controllers.

Code

public function get_page_title($name, $var);