function ctools_context_create_token
Create a context from manual configuration.
Parameters
$empty: Unused.
$data: Unused.
$conf: Unused.
Return value
ctools_context A context of type token, with the plugin set appropriately.
File
-
plugins/
contexts/ token.inc, line 31
Code
function ctools_context_create_token($empty, $data = NULL, $conf = FALSE) {
$context = new ctools_context('token');
$context->plugin = 'token';
return $context;
}