public function ViewExecutable::setArguments in Views (for Drupal 7) 8.3
Set the arguments that come to this view. Usually from the URL but possibly from elsewhere.
2 calls to ViewExecutable::setArguments()
- ViewExecutable::preExecute in lib/
Drupal/ views/ ViewExecutable.php - Run attachments and let the display do what it needs to do prior to running.
- ViewUI::renderPreview in views_ui/
lib/ Drupal/ views_ui/ ViewUI.php
File
- lib/
Drupal/ views/ ViewExecutable.php, line 430 - Definition of Drupal\views\ViewExecutable.
Class
- ViewExecutable
- An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.
Namespace
Drupal\viewsCode
public function setArguments($args) {
$this->args = $args;
}