protected function SchedulerManager::setting in Scheduler 8
Same name and namespace in other branches
- 2.x 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.
3 calls to SchedulerManager::setting()
- SchedulerManager::publish in src/
SchedulerManager.php - Publish scheduled nodes.
- SchedulerManager::runLightweightCron in src/
SchedulerManager.php - Run the lightweight cron.
- SchedulerManager::unpublish in src/
SchedulerManager.php - Unpublish scheduled nodes.
File
- src/
SchedulerManager.php, line 585
Class
- SchedulerManager
- Defines a scheduler manager.
Namespace
Drupal\schedulerCode
protected function setting($key) {
return $this->configFactory
->get('scheduler.settings')
->get($key);
}