function ctools_context_exists_ctools_access_summary

Provide a summary description based upon the specified context.

1 string reference to 'ctools_context_exists_ctools_access_summary'
context_exists.inc in plugins/access/context_exists.inc

File

plugins/access/context_exists.inc, line 44

Code

function ctools_context_exists_ctools_access_summary($conf, $context) {
    if (!empty($conf['exists'])) {
        return t('@identifier exists', array(
            '@identifier' => $context->identifier,
        ));
    }
    else {
        return t('@identifier does not exist', array(
            '@identifier' => $context->identifier,
        ));
    }
}