function views_plugin_access_role::option_defaults in Views (for Drupal 7) 6.2
Retrieve the default options when this is a new access control plugin
Overrides views_plugin_access::option_defaults
File
- plugins/
views_plugin_access_role.inc, line 30
Class
- views_plugin_access_role
- Access plugin that provides role-based access control.
Code
function option_defaults(&$options) {
$options['role'] = array();
}