You are here

public function UltimateCronPlugin::settingsLabel in Ultimate Cron 7.2

Get label for a specific setting.

4 calls to UltimateCronPlugin::settingsLabel()
UltimateCronBackgroundProcessLegacyLauncher::settingsLabel in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Label for settings.
UltimateCronDatabaseLogger::settingsLabel in plugins/ultimate_cron/logger/database.class.php
Label for setting.
UltimateCronPlugin::fallbackalize in ./ultimate_cron.plugin.inc
Process fallback form parameters.
UltimateCronSimpleScheduler::settingsLabel in plugins/ultimate_cron/scheduler/simple.class.php
Label for settings.
3 methods override UltimateCronPlugin::settingsLabel()
UltimateCronBackgroundProcessLegacyLauncher::settingsLabel in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Label for settings.
UltimateCronDatabaseLogger::settingsLabel in plugins/ultimate_cron/logger/database.class.php
Label for setting.
UltimateCronSimpleScheduler::settingsLabel in plugins/ultimate_cron/scheduler/simple.class.php
Label for settings.

File

./ultimate_cron.plugin.inc, line 352
Plugin framework for Ultimate Cron.

Class

UltimateCronPlugin
This is the base class for all Ultimate Cron plugins.

Code

public function settingsLabel($name, $value) {
  if (is_array($value)) {
    return implode(', ', $value);
  }
  else {
    return $value;
  }
}