RecipientHandlerInterface.php in Simplenews 8.2
Same filename and directory in other branches
Namespace
Drupal\simplenews\RecipientHandlerFile
src/RecipientHandler/RecipientHandlerInterface.phpView source
<?php
namespace Drupal\simplenews\RecipientHandler;
use Drupal\Component\Plugin\PluginInspectionInterface;
/**
* Interface for Simplenews Recipient Handler Classes.
*/
interface RecipientHandlerInterface extends \Countable, PluginInspectionInterface {
/**
* Adds a newsletter issue to the mail spool.
*
* @return int
* Number of recipients added.
*/
public function addToSpool();
/**
* Returns the elements to add to the settings form for handler settings.
*
* @return array
* The form elements.
*/
public function settingsForm();
}
Interfaces
Name | Description |
---|---|
RecipientHandlerInterface | Interface for Simplenews Recipient Handler Classes. |