You are here

function domain_views_plugin_argument_default_current::get_argument in Domain Views 7

Return the default argument.

This needs to be overridden by every default argument handler to properly do what is needed.

Overrides views_plugin_argument_default::get_argument

File

includes/domain_views_plugin_argument_default_current.inc, line 14
Domain Views plugin that contains a argument default with the current domain's id.

Class

domain_views_plugin_argument_default_current
Argument default with the current domain's id

Code

function get_argument() {
  $_domain = domain_get_domain();
  return $_domain['domain_id'];
}