function webform_scheduled_tasks_get_config in Webform Scheduled Tasks 8
Gets the value of a config item.
4 calls to webform_scheduled_tasks_get_config()
- cqc_webform_scheduled_tasks_cron in ./
webform_scheduled_tasks.module - This method makes sure we only fire at a set frequency.
- drush_webform_scheduled_tasks in ./
webform_scheduled_tasks.drush.inc - Method to run the various drush commands depending on the arguments supplied.
- sanitize_webform_field in ./
webform_scheduled_tasks.module - Function to perform the DB Update.
- webform_scheduled_tasks_do_actions in ./
webform_scheduled_tasks.module - Function that does the actions, must also be triggerable by a drush command.
File
- ./
webform_scheduled_tasks.module, line 45 - This hook will fire whenever cron fires, usually 20 mins.
Code
function webform_scheduled_tasks_get_config($name) {
$config = \Drupal::config('webform_scheduled_tasks.config');
return $config
->get($name);
}