function _background_process_callback_name in Background Process 8
Same name and namespace in other branches
- 6 background_process.module \_background_process_callback_name()
- 7.2 background_process.module \_background_process_callback_name()
- 7 background_process.module \_background_process_callback_name()
Get string name of callback.
3 calls to _background_process_callback_name()
- BackgroundProcess::dispatch in ./
background_process.class.php - Implements to Dispatch Process.
- background_process_service_execute in ./
background_process.module - Implements to Execute the service.
- DefaultController::backgroundProcessOverviewPage in src/
Controller/ DefaultController.php - Implements Background Process Overview Page.
File
- ./
background_process.module, line 1308 - This module implements a framework for calling funtions in the background.
Code
function _background_process_callback_name($callback) {
if (is_array($callback)) {
if (is_object($callback[0])) {
$callback = get_class($callback[0]) . '->' . $callback[1];
}
else {
$callback = $callback[0] . '::' . $callback[1];
}
}
return $callback;
}