function views_plugin_argument_default::init

Same name in other branches
  1. 6.x-3.x plugins/views_plugin_argument_default.inc \views_plugin_argument_default::init()

Initialize this plugin with the view and the argument it is linked to.

1 call to views_plugin_argument_default::init()
views_plugin_argument_default_taxonomy_tid::init in modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
Initialize this plugin with the view and the argument it is linked to.
1 method overrides views_plugin_argument_default::init()
views_plugin_argument_default_taxonomy_tid::init in modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
Initialize this plugin with the view and the argument it is linked to.

File

plugins/views_plugin_argument_default.inc, line 33

Class

views_plugin_argument_default
The fixed argument default handler; also used as the base.

Code

public function init(&$view, &$argument, $options) {
    $this->view =& $view;
    $this->argument =& $argument;
    $this->convert_options($options);
    $this->unpack_options($this->options, $options);
}