function views_plugin_access_perm::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_perm.inc, line 19
Class
- views_plugin_access_perm
- Access plugin that provides permission-based access control.
Code
function option_defaults(&$options) {
$options['perm'] = 'access content';
}