function domain_views_handler_argument_domain_access_gid::set_argument in Domain Views 7
Set the input for this argument.
Return value
bool TRUE if it successfully validates; FALSE if it does not.
Overrides views_handler_argument::set_argument
File
- includes/
domain_views_handler_argument_domain_access_gid.inc, line 15 - Interface between domain_views.module and views.module.
Class
- domain_views_handler_argument_domain_access_gid
- Argument for domain ids stored in the database currently active domain and any domain.
Code
function set_argument($arg) {
if ($arg == 'current') {
$domain = domain_get_domain();
$arg = $domain['domain_id'];
}
return parent::set_argument($arg);
}