You are here

function emailpanels_contactemail_get_arguments in Panels Extras 6

Callback to get arguments provided by this task handler.

Since this is the node edit and there is no UI on the arguments, we create dummy arguments that contain the needed data.

1 call to emailpanels_contactemail_get_arguments()
emailpanels_contactemail_get_contexts in emailpanels/plugins/tasks/contactemail.inc
Callback to get context placeholders provided by this handler.
1 string reference to 'emailpanels_contactemail_get_arguments'
emailpanels_contactemail_page_manager_tasks in emailpanels/plugins/tasks/contactemail.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

emailpanels/plugins/tasks/contactemail.inc, line 109
Provides additional page manager tasks CCK Email Contact form for panels use

Code

function emailpanels_contactemail_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'node',
      'identifier' => t('Node'),
      'id' => 1,
      'name' => 'nid',
      'settings' => array(),
    ),
  );
}