You are here

public function MassContactInterface::sendMessage in Mass Contact 8

Sends a message to a list of recipient user IDs.

Parameters

int[] $recipients: An array of recipient user IDs.

\Drupal\mass_contact\Entity\MassContactMessageInterface $message: The mass contact message entity.

array $configuration: An array of configuration. Default values are provided by the mass contact settings.

1 method overrides MassContactInterface::sendMessage()
MassContact::sendMessage in src/MassContact.php
Sends a message to a list of recipient user IDs.

File

src/MassContactInterface.php, line 73

Class

MassContactInterface
Defines an interface for the Mass Contact helper service.

Namespace

Drupal\mass_contact

Code

public function sendMessage(array $recipients, MassContactMessageInterface $message, array $configuration = []);