You are here

function views_plugin_access_role::option_definition in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_access_role.inc \views_plugin_access_role::option_definition()

Retrieve the options when this is a new access control plugin

Overrides views_plugin_access::option_definition

File

plugins/views_plugin_access_role.inc, line 31

Class

views_plugin_access_role
Access plugin that provides role-based access control.

Code

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