public function views_plugin_access_perm::option_definition in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 plugins/views_plugin_access_perm.inc \views_plugin_access_perm::option_definition()
Retrieve the options when this is a new access control plugin.
Overrides views_plugin_access::option_definition
File
- plugins/
views_plugin_access_perm.inc, line 45 - Definition of views_plugin_access_perm.
Class
- views_plugin_access_perm
- Access plugin that provides permission-based access control.
Code
public function option_definition() {
$options = parent::option_definition();
$options['perm'] = array(
'default' => 'access content',
);
return $options;
}