public function CronJob::getConfiguration in Ultimate Cron 8.2
Gets this plugin's configuration.
Parameters
$plugin_type: The type of plugin.
Return value
array An array of this plugin's configuration.
File
- src/
Entity/ CronJob.php, line 304
Class
- CronJob
- Class for handling cron jobs.
Namespace
Drupal\ultimate_cron\EntityCode
public function getConfiguration($plugin_type) {
if (!isset($this->{$plugin_type}['configuration'])) {
$this->{$plugin_type}['configuration'] = $this
->getPlugin($plugin_type)
->defaultConfiguration();
}
return $this->{$plugin_type}['configuration'];
}