public function uc_addresses_views_access::option_definition in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 views/uc_addresses_views_access.inc \uc_addresses_views_access::option_definition()
Implements views_plugin_access#option_definition().
Overrides views_plugin_access::option_definition
File
- views/
uc_addresses_views_access.inc, line 53 - Contains uc_addresses_views_access class.
Class
- uc_addresses_views_access
- Access plugin that provides access control based on custom PHP code.
Code
public function option_definition() {
$options = parent::option_definition();
$options['uid_argument'] = array(
'default' => NULL,
);
$options['aid_argument'] = array(
'default' => NULL,
);
$options['access_type'] = array(
'default' => 'view',
);
return $options;
}