You are here

public function Base::getDbInfo in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Agent/Action/Base.php \Drupal\drd_agent\Agent\Action\Base::getDbInfo()

Get an array of database connection information.

Return value

array The database connection information.

Overrides BaseInterface::getDbInfo

1 call to Base::getDbInfo()
Base::authorizeBySecret in src/Agent/Action/Base.php
Callback to authorize a DRD instance with a given secret.

File

src/Agent/Action/Base.php, line 442

Class

Base
Base class for Remote DRD Action Code.

Namespace

Drupal\drd_agent\Agent\Action

Code

public function getDbInfo() : array {
  return $this->database
    ->getConnectionOptions();
}