function quiz_quiztake_get_arguments in Quiz 7.6
Same name and namespace in other branches
- 7.4 plugins/page_manager/tasks/quiztake.inc \quiz_quiztake_get_arguments()
- 7.5 plugins/page_manager/tasks/quiztake.inc \quiz_quiztake_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 string reference to 'quiz_quiztake_get_arguments'
- quiz_quiztake_page_manager_tasks in plugins/
page_manager/ tasks/ quiztake.inc - Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.
File
- plugins/
page_manager/ tasks/ quiztake.inc, line 112
Code
function quiz_quiztake_get_arguments($task, $subtask_id) {
return array(
array(
'keyword' => 'node',
'identifier' => t('Node being taken'),
'id' => 1,
'name' => 'entity_id:node',
'settings' => array(),
),
);
}