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

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

    return entity_load_multiple('activity', $ids);
  }
public function getNotificationsActivities ( AccountInterface $ account , array $ status = [ ACTIVITY_STATUS_RECEIVED ] ) { $ ids = $ this -> getNotificationIds ( $ account , $ status ) ; return entity_load_multiple ( 'activity' , $ ids ) ; }
Returns the Activity objects with destination 'notification' for account.

@param \Drupal\Core\Session\AccountInterface $account
Account object.
@param array $status
Status string: activity_creator_field_activity_status_allowed_values().

@return array
Return array of notifications as activity objects.
Returns the Activity objects with destination notification for account .