function ArgumentPluginBase::set_argument

Set the input for this argument

Return value

TRUE if it successfully validates; FALSE if it does not.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 982
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

function set_argument($arg) {
  $this->argument = $arg;
  return $this
    ->validateArgument($arg);
}