function views_plugin_argument_default::init

Same name in other branches
  1. 7.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.

File

plugins/views_plugin_argument_default.inc, line 32

Class

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

Code

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