1.20.x telemetry.install | telemetry_requirements($phase) |
Implements hook_requirements().
File
- modules/
telemetry/ telemetry.install, line 22 - Install, update and uninstall functions for the Telemetry module.
Code
function telemetry_requirements($phase) {
$requirements = array();
// Ensure translations don't break during installation.
$t = get_t();
// Report Backdrop version
if ($phase == 'runtime') {
$requirements['teletry'] = array(
'title' => $t('Telemetry'),
'value' => $t('Enabled'),
'severity' => REQUIREMENT_INFO,
'description' => $t('Anonymous information about how your site is configured is being sent to @domain to help improve the project. See the <a href="!telemetry_report">Telemetry report page</a> for more information.', array('@domain' => _telemetry_destination_server_name(), '!telemetry_report' => url('admin/reports/telemetry'))),
);
}
return $requirements;
}