function views_plugin_access_perm::get_access_callback

Overrides views_plugin_access::get_access_callback

File

plugins/views_plugin_access_perm.inc, line 25

Class

views_plugin_access_perm
Access plugin that provides permission-based access control.

Code

public function get_access_callback() {
    return array(
        'views_check_perm',
        array(
            $this->options['perm'],
        ),
    );
}