You are here

public function ActivityContextBase::getRecipients in Open Social 8.9

Same name and namespace in other branches
  1. 8 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  2. 8.2 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  3. 8.3 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  4. 8.4 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  5. 8.5 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  6. 8.6 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  7. 8.7 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  8. 8.8 modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  9. 10.3.x modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  10. 10.0.x modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  11. 10.1.x modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()
  12. 10.2.x modules/custom/activity_creator/src/Plugin/ActivityContextBase.php \Drupal\activity_creator\Plugin\ActivityContextBase::getRecipients()

Returns a batched list of recipients for this context.

Parameters

array $data: The data.

int $last_id: The last ID.

int $limit: The limit.

Return value

array An associative array of recipients, containing the following key-value pairs:

  • target_type: The entity type ID.
  • target_id: The entity ID.

Overrides ActivityContextInterface::getRecipients

17 methods override ActivityContextBase::getRecipients()
ApprovedRequestJoinGroupActivityContext::getRecipients in modules/social_features/social_group/modules/social_group_request/src/Plugin/ActivityContext/ApprovedRequestJoinGroupActivityContext.php
Returns a batched list of recipients for this context.
CommunityActivityContext::getRecipients in modules/custom/activity_basics/src/Plugin/ActivityContext/CommunityActivityContext.php
Returns a batched list of recipients for this context.
ContentInMyGroupActivityContext::getRecipients in modules/custom/activity_basics/src/Plugin/ActivityContext/ContentInMyGroupActivityContext.php
Returns a batched list of recipients for this context.
ContentReportActivityContext::getRecipients in modules/social_features/social_content_report/src/Plugin/ActivityContext/ContentReportActivityContext.php
Returns a batched list of recipients for this context.
EventInviteActivityContext::getRecipients in modules/social_features/social_event/modules/social_event_invite/src/Plugin/ActivityContext/EventInviteActivityContext.php
Returns a batched list of recipients for this context.

... See full list

File

modules/custom/activity_creator/src/Plugin/ActivityContextBase.php, line 87

Class

ActivityContextBase
Base class for Activity context plugin plugins.

Namespace

Drupal\activity_creator\Plugin

Code

public function getRecipients(array $data, $last_uid, $limit) {
  return [];
}