_update_batch_create_message

_update_batch_create_message(&$project_results, $message, $success = TRUE)

Creates a structure of log messages.

Parameters

array $project_results: An associative array of results from the batch operation.

string $message: A string containing a log message.

bool $success: (optional) TRUE if the operation the message is about was a success, FALSE if there were errors. Defaults to TRUE.

File

core/modules/update/update.authorize.inc, line 350
Callbacks and related functions invoked by authorize.php to update projects.

Code

function _update_batch_create_message(&$project_results, $message, $success = TRUE) {
  $project_results[] = array('message' => $message, 'success' => $success);
}
doc_Drupal
2016-10-29 09:57:21
Comments
Leave a Comment

Please login to continue.