public function ArgumentDefaultPluginBase::setArgument

Sets the parent argument this plugin is associated with.

Parameters

\Drupal\views\Plugin\views\argument\ArgumentPluginBase $argument: The parent argument to set.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php, line 45
Definition of Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase.

Class

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

Namespace

Drupal\views\Plugin\views\argument_default

Code

public function setArgument(ArgumentPluginBase $argument) {
  $this->argument = $argument;
}