Connection.php in Drupal 10
Same filename in this branch
- 10 core/lib/Drupal/Core/Database/Connection.php
- 10 core/tests/fixtures/database_drivers/custom/corefake/Connection.php
- 10 core/tests/fixtures/database_drivers/custom/fake/Connection.php
- 10 core/tests/fixtures/database_drivers/core/corefake/Connection.php
- 10 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
- 10 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
- 10 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
- 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php
- 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php
- 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Connection.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php
File
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.phpView source
<?php
namespace Drupal\driver_test\Driver\Database\DrivertestPgsql;
include_once dirname(__DIR__, 8) . '/pgsql/src/Driver/Database/pgsql/Connection.php';
use Drupal\pgsql\Driver\Database\pgsql\Connection as CoreConnection;
/**
* PostgreSQL implementation of \Drupal\Core\Database\Connection.
*/
class Connection extends CoreConnection {
/**
* {@inheritdoc}
*/
public function driver() {
return 'DrivertestPgsql';
}
}
Classes
Name | Description |
---|---|
Connection | PostgreSQL implementation of \Drupal\Core\Database\Connection. |