function ctools_context_node_convert_list
Provide a list of ways that this context can be converted to a string.
1 call to ctools_context_node_convert_list()
- ctools_context_node_edit_convert_list in plugins/
contexts/ node_edit_form.inc - Provide a list of ways that this context can be converted to a string.
1 string reference to 'ctools_context_node_convert_list'
File
-
plugins/
contexts/ node.inc, line 158
Code
function ctools_context_node_convert_list() {
$tokens = token_info();
foreach ($tokens['tokens']['node'] as $id => $info) {
if (!isset($list[$id])) {
$list[$id] = $info['name'];
}
}
return $list;
}