function advanced_forum_forum_get_arguments in Advanced Forum 6.2
Same name and namespace in other branches
- 7.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 - Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.
File
- plugins/
tasks/ forum.inc, line 90
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', TRUE),
),
),
);
}