Documentation

pm_Hook_Backup_Task
in package
implements pm_Hook_Backup

Abstract class for injection into backup/restore status message

Tags
since
18.0.41

Interfaces, Classes and Traits

pm_Hook_Backup
Interface for backup and restore hooks

Table of Contents

getStatus()  : array<string|int, mixed>
Updates status data

Methods

getStatus()

Updates status data

public getStatus(array<string|int, mixed> $status) : array<string|int, mixed>
public function getStatus(array $status): array
{
     $status['additionalContent'] .= '<a href="/modules/sample-extension/index.php?task-id=' . $status['id'] . '">Extra link</a>';
     return $status;
}
Parameters
$status : array<string|int, mixed>

Original status

Return values
array<string|int, mixed>

Updated status

Search results