protected function SchedulerManager::setting in Scheduler 2.x
Same name and namespace in other branches
- 8 src/SchedulerManager.php \Drupal\scheduler\SchedulerManager::setting()
Helper method to access the settings of this module.
Parameters
string $key: The key of the configuration.
Return value
\Drupal\Core\Config\ImmutableConfig The value of the configuration item requested.
4 calls to SchedulerManager::setting()
- SchedulerManager::getEnabledTypes in src/
SchedulerManager.php - Gets the names of the types/bundles enabled for a specific process.
- SchedulerManager::publish in src/
SchedulerManager.php - Publish scheduled entities.
- SchedulerManager::runLightweightCron in src/
SchedulerManager.php - Run the lightweight cron.
- SchedulerManager::unpublish in src/
SchedulerManager.php - Unpublish scheduled entities.
File
- src/
SchedulerManager.php, line 791
Class
- SchedulerManager
- Defines a scheduler manager.
Namespace
Drupal\schedulerCode
protected function setting($key) {
return $this->configFactory
->get('scheduler.settings')
->get($key);
}