public function TestClient::getNotifications in Media: Acquia DAM 8
Returns the notifications with the expected format.
Return value
array The notifications with the expected format.
File
- tests/
modules/ media_acquiadam_test/ src/ TestClient.php, line 52
Class
- TestClient
- Overridden implementation of the Acquia DAM client for testing.
Namespace
Drupal\media_acquiadam_testCode
public function getNotifications() {
return [
'total' => count($this->notifications),
'notifications' => $this->notifications,
];
}