You are here

public function views_plugin_argument_default::init in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_argument_default.inc \views_plugin_argument_default::init()
  2. 6.2 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
Definition of views_plugin_argument_default.

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);
}