function farm_asset_farm_asset_view_get_contexts in farmOS 7
Callback to get context placeholders provided by this handler.
Parameters
array $task: The task array.
string $subtask_id: The subtask id.
Return value
array Returns an array of contexts.
1 string reference to 'farm_asset_farm_asset_view_get_contexts'
- farm_asset_farm_asset_view_page_manager_tasks in modules/
farm/ farm_asset/ includes/ ctools/ farm_asset_view.inc - Specialized implementation of hook_farm_asset_task_tasks().
File
- modules/
farm/ farm_asset/ includes/ ctools/ farm_asset_view.inc, line 170 - Handle the 'farm_asset view' override task.
Code
function farm_asset_farm_asset_view_get_contexts(array $task, $subtask_id) {
return ctools_context_get_placeholders_from_argument(farm_asset_farm_asset_view_get_arguments($task, $subtask_id));
}