function Connection::condition

Same name and namespace in other branches
  1. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Connection::condition()

File

core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php, line 86

Class

Connection
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses

Code

public function condition($conjunction) {
  return new Condition($conjunction, FALSE);
}

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