function shortcut_patterns_get_arguments in Patterns 7
hook_patterns_get_arguments()
File
- patterns_components/
components/ shortcut.inc, line 256 - Patterns component for shortcut.
Code
function shortcut_patterns_get_arguments($action, $tag, $form_id, &$loop = FALSE) {
if ($tag == "shortcut_set") {
$loop = TRUE;
$return = array();
$sets = shortcut_sets();
foreach ($sets as $set_name => $value) {
array_merge($return, array(
'oldname' => $value['title'],
));
return $return;
}
return $return;
}
}