function file_entity_file_view_get_contexts in File Entity (fieldable files) 7.3
Same name and namespace in other branches
- 7.2 plugins/tasks/file_view.inc \file_entity_file_view_get_contexts()
Callback to get context placeholders provided by this handler.
1 string reference to 'file_entity_file_view_get_contexts'
- file_entity_file_view_page_manager_tasks in plugins/
tasks/ file_view.inc - Specialized implementation of hook_page_manager_task_tasks().
File
- plugins/
tasks/ file_view.inc, line 133 - Handle the 'file view' override task.
Code
function file_entity_file_view_get_contexts($task, $subtask_id) {
return ctools_context_get_placeholders_from_argument(page_manager_file_view_get_arguments($task, $subtask_id));
}