domain_views_plugin_argument_default_current.inc in Domain Access 6.2
Domain Views plugin that contains a argument default with the current domain's id.
File
domain_views/includes/domain_views_plugin_argument_default_current.incView source
<?php
/**
* @file
* Domain Views plugin that contains a argument default with the current domain's id.
*
* @ingroup domain_views
*/
/**
* Argument default with the current domain's id
*/
class domain_views_plugin_argument_default_current extends views_plugin_argument_default {
function argument_form(&$form, &$form_state) {
}
function get_argument() {
global $_domain;
return $_domain['domain_id'];
}
}
Classes
Name | Description |
---|---|
domain_views_plugin_argument_default_current | Argument default with the current domain's id |