public function uc_addresses_views_access::option_definition in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 views/uc_addresses_views_access.inc \uc_addresses_views_access::option_definition()
Implements views_plugin_access#option_definition().
File
- views/
uc_addresses_views_access.inc, line 51 - 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;
}