You are here

function PartyDataSetActionInterface::action_form in Party 7

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

Provides the action form for adding a new entity.

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 FormAPI array.

2 methods override PartyDataSetActionInterface::action_form()
PartyDefaultDataSetUIAdd::action_form in includes/party.data_ui.inc
Provides the action form for adding a new entity.
PartyDefaultDataSetUIAttach::action_form in includes/party.data_ui.inc
Provides the action form for attaching an existing entity.

File

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

Class

PartyDataSetActionInterface
The interface for action UI controllers.

Code

function action_form($form, &$form_state, $party, $data_set, $eid = NULL);