You are here

protected function DatabaseLogger::getMethodOptions in Ultimate Cron 8.2

Returns the method options.

Return value

array

1 call to DatabaseLogger::getMethodOptions()
DatabaseLogger::buildConfigurationForm in src/Plugin/ultimate_cron/Logger/DatabaseLogger.php
Form constructor.

File

src/Plugin/ultimate_cron/Logger/DatabaseLogger.php, line 392

Class

DatabaseLogger
Database logger.

Namespace

Drupal\ultimate_cron\Plugin\ultimate_cron\Logger

Code

protected function getMethodOptions() {
  return array(
    static::CLEANUP_METHOD_DISABLED => t('Disabled'),
    static::CLEANUP_METHOD_EXPIRE => t('Remove logs older than a specified age'),
    static::CLEANUP_METHOD_RETAIN => t('Retain only a specific amount of log entries'),
  );
}