function panels_everywhere_site_template_get_arguments in Panels Everywhere 7
Same name and namespace in other branches
- 6 plugins/tasks/site_template.inc \panels_everywhere_site_template_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 panels_everywhere_site_template_get_arguments()
- panels_everywhere_site_template_get_contexts in plugins/
tasks/ site_template.inc - Callback to get context placeholders provided by this handler.
1 string reference to 'panels_everywhere_site_template_get_arguments'
- site_template.inc in plugins/
tasks/ site_template.inc
File
- plugins/
tasks/ site_template.inc, line 34
Code
function panels_everywhere_site_template_get_arguments($task, $subtask_id) {
$arguments = array();
$arguments[] = array(
'keyword' => 'content',
'identifier' => t('Page content'),
'id' => 1,
'name' => 'page_content',
'settings' => array(),
);
return $arguments;
}