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'
node.inc in plugins/contexts/node.inc
Plugin to provide a node context. A node context is a node wrapped in a context object that can be utilized by anything that accepts contexts.

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;
}