function DatabaseDriver::getDriverName

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Extension/DatabaseDriver.php \Drupal\Core\Extension\DatabaseDriver::getDriverName()

Returns the name of the database driver.

Return value

string The name of the database driver.

2 calls to DatabaseDriver::getDriverName()
DatabaseDriver::getNamespace in core/lib/Drupal/Core/Extension/DatabaseDriver.php
Returns the PHP namespace of the database driver.
DatabaseDriver::getPath in core/lib/Drupal/Core/Extension/DatabaseDriver.php
Returns the relative path of the extension.

File

core/lib/Drupal/Core/Extension/DatabaseDriver.php, line 61

Class

DatabaseDriver
Defines a database driver extension object.

Namespace

Drupal\Core\Extension

Code

public function getDriverName() : string {
    return $this->driverName;
}

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