public function getNotifications(AccountInterface $account, array $status = [ACTIVITY_STATUS_RECEIVED]) {
    $ids = $this->getNotificationIds($account, $status);

    return $ids;
  }
public function getNotifications(AccountInterface $account, array $status = [ACTIVITY_STATUS_RECEIVED]) {
    $ids = $this->getNotificationIds($account, $status);

    return $ids;
  }
public function getNotifications ( AccountInterface $ account , array $ status = [ ACTIVITY_STATUS_RECEIVED ] ) { $ ids = $ this -> getNotificationIds ( $ account , $ status ) ; return $ ids ; }
Returns the Notifications for a given account.

@param \Drupal\Core\Session\AccountInterface $account
Account object to get notifications for.
@param array $status
Filter by status.

@return array
Return array of notification ids.
Returns the Notifications for a given account .