public function LoggerChannelPart::getGrants in Purge 8.3
Retrieve given grants.
Return value
int[] Unassociative array of enabled RFC 5424 log types:
- \Drupal\Core\Logger\RfcLogLevel::EMERGENCY
- \Drupal\Core\Logger\RfcLogLevel::ALERT
- \Drupal\Core\Logger\RfcLogLevel::CRITICAL
- \Drupal\Core\Logger\RfcLogLevel::ERROR
- \Drupal\Core\Logger\RfcLogLevel::WARNING
- \Drupal\Core\Logger\RfcLogLevel::NOTICE
- \Drupal\Core\Logger\RfcLogLevel::INFO
- \Drupal\Core\Logger\RfcLogLevel::DEBUG.
Overrides LoggerChannelPartInterface::getGrants
File
- src/
Logger/ LoggerChannelPart.php, line 69
Class
- LoggerChannelPart
- Provides a subchannel whichs logs to a single main channel with permissions.
Namespace
Drupal\purge\LoggerCode
public function getGrants() {
return $this->grants;
}