function DbCommandBaseTester::getDatabaseConnection
Parse input options decide on a database.
Parameters
\Symfony\Component\Console\Input\InputInterface $input: Input object.
Return value
\Drupal\Core\Database\Connection
Overrides DbCommandBase::getDatabaseConnection
File
-
core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php, line 122
Class
- DbCommandBaseTester
- Concrete command implementation for testing base features.
Namespace
Drupal\Tests\system\Kernel\ScriptsCode
public function getDatabaseConnection(InputInterface $input) {
return parent::getDatabaseConnection($input);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.