interface RecipientHandlerInterface in Simplenews 8.2
Same name and namespace in other branches
- 8 src/RecipientHandler/RecipientHandlerInterface.php \Drupal\simplenews\RecipientHandler\RecipientHandlerInterface
- 3.x src/RecipientHandler/RecipientHandlerInterface.php \Drupal\simplenews\RecipientHandler\RecipientHandlerInterface
Interface for Simplenews Recipient Handler Classes.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\simplenews\RecipientHandler\RecipientHandlerInterface extends \Drupal\simplenews\RecipientHandler\Countable
Expanded class hierarchy of RecipientHandlerInterface
All classes that implement RecipientHandlerInterface
1 file declares its use of RecipientHandlerInterface
- RecipientHandlerBase.php in src/
Plugin/ simplenews/ RecipientHandler/ RecipientHandlerBase.php
File
- src/
RecipientHandler/ RecipientHandlerInterface.php, line 10
Namespace
Drupal\simplenews\RecipientHandlerView source
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();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
RecipientHandlerInterface:: |
public | function | Adds a newsletter issue to the mail spool. | 3 |
RecipientHandlerInterface:: |
public | function | Returns the elements to add to the settings form for handler settings. | 1 |