You are here

public function LoggerService::getChannels in Purge 8.3

Retrieve information on all registered channels and their grants.

Return value

array[] Unassociative array, with associative arrays in them. Each array represents a single chanenl and has a key 'id' and 'grants', the latter is another unassociative array with the enabled grants for that channel.

Overrides LoggerServiceInterface::getChannels

File

src/Logger/LoggerService.php, line 164

Class

LoggerService
Provides logging services to purge and its submodules, via a single channel.

Namespace

Drupal\purge\Logger

Code

public function getChannels() {
  return $this->config;
}