You are here

public function Condition::arguments in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition::arguments()
  2. 9 core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition::arguments()

Gets a complete list of all values to insert into the prepared statement.

Return value

An associative array of placeholders and values.

Overrides ConditionInterface::arguments

File

core/lib/Drupal/Core/Database/Query/Condition.php, line 179

Class

Condition
Generic class for a series of conditions in a query.

Namespace

Drupal\Core\Database\Query

Code

public function arguments() {

  // If the caller forgot to call compile() first, refuse to run.
  if ($this->changed) {
    return NULL;
  }
  return $this->arguments;
}