public function GroupingInterface::getRecipients in Mass Contact 8
Retrieve the list of users by category.
Parameters
array $categories: An array of category IDs for which to retrieve users. For instance, in the role grouping this would be an array of role IDs.
Return value
int[] An array of recipient user IDs.
1 method overrides GroupingInterface::getRecipients()
- Role::getRecipients in src/
Plugin/ MassContact/ GroupingMethod/ Role.php - Retrieve the list of users by category.
File
- src/
Plugin/ MassContact/ GroupingMethod/ GroupingInterface.php, line 25
Class
- GroupingInterface
- Defineds a grouping method interface.
Namespace
Drupal\mass_contact\Plugin\MassContact\GroupingMethodCode
public function getRecipients(array $categories);