function Condition::arguments

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition::arguments()
  2. 10 core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition::arguments()
  3. 11.x core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition::arguments()

Overrides ConditionInterface::arguments

File

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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.