function development_environment_log_load in Development Environment 7
Loads the log data for a single development environment suppresed email.
Parameters
int $lid: The Log ID for the suppressed email data to be loaded.
Return value
StdClass|bool An object containing the suppressed email log data, or FALSE if no data exists.
File
- ./
development_environment.module, line 113 - Holds hooks for the Development Environment module.
Code
function development_environment_log_load($lid) {
return db_query('SELECT timestamp, email_data FROM {development_environment_log} WHERE lid = :lid', [
':lid' => $lid,
])
->fetch();
}