function ctools_compare_users_ctools_access_summary

Describe an instance of this plugin.

1 string reference to 'ctools_compare_users_ctools_access_summary'
compare_users.inc in plugins/access/compare_users.inc
CTools access plugin to provide access/visiblity if two user contexts are equal.

File

plugins/access/compare_users.inc, line 66

Code

function ctools_compare_users_ctools_access_summary($conf, $context) {
    $comparison = !empty($conf['equality']) ? "is" : 'is not';
    return t('@id1 @comp @id2', array(
        '@comp' => $comparison,
        '@id1' => $context[0]->identifier,
        '@id2' => $context[1]->identifier,
    ));
}