function ctools_language_context_convert
Convert a context property into a string to be used as a keyword.
1 call to ctools_language_context_convert()
- ctools_language_context_convert_list in plugins/
contexts/ language.inc - Provide a list of sub-keywords.
1 string reference to 'ctools_language_context_convert'
- language.inc in plugins/
contexts/ language.inc - Ctools context type plugin to hold the current language context.
File
-
plugins/
contexts/ language.inc, line 120
Code
function ctools_language_context_convert($context, $type) {
if (isset($context->data->{$type})) {
return $context->data->{$type};
}
}