You are here

function advanced_forum_forum_get_arguments in Advanced Forum 7.2

Same name and namespace in other branches
  1. 6.2 plugins/tasks/forum.inc \advanced_forum_forum_get_arguments()

Callback to get arguments provided by this task handler.

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

1 call to advanced_forum_forum_get_arguments()
advanced_forum_forum_get_contexts in plugins/tasks/forum.inc
Callback to get context placeholders provided by this handler.
1 string reference to 'advanced_forum_forum_get_arguments'
advanced_forum_forum_page_manager_tasks in plugins/tasks/forum.inc
Page manager tasks.

File

plugins/tasks/forum.inc, line 103
Plugin for tasks.

Code

function advanced_forum_forum_get_arguments($task, $subtask_id) {
  return array(
    array(
      'keyword' => 'forum',
      'identifier' => t('Forum'),
      'id' => 1,
      'name' => 'forum_id',
      'settings' => array(
        'breadcrumb' => variable_get('advanced_forum_forum_page_breadcrumb', FALSE),
      ),
    ),
  );
}