function views_plugin_access_perm::summary_title

Overrides views_plugin_access::summary_title

File

plugins/views_plugin_access_perm.inc, line 32

Class

views_plugin_access_perm
Access plugin that provides permission-based access control.

Code

public function summary_title() {
    $permissions = module_invoke_all('permission');
    if (isset($permissions[$this->options['perm']])) {
        return $permissions[$this->options['perm']]['title'];
    }
    return t($this->options['perm']);
}