function views_plugin_access_perm::option_definition

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_access_perm.inc \views_plugin_access_perm::option_definition()

Overrides views_plugin_access::option_definition

File

plugins/views_plugin_access_perm.inc, line 20

Class

views_plugin_access_perm
Access plugin that provides permission-based access control.

Code

function option_definition() {
    $options = parent::option_definition();
    $options['perm'] = array(
        'default' => 'access content',
    );
    return $options;
}