interface SimplenewsSourceEntityInterface in Simplenews 7.2
Source interface based on an entity.
Hierarchy
- interface \SimplenewsSourceInterface
- interface \SimplenewsSourceEntityInterface
Expanded class hierarchy of SimplenewsSourceEntityInterface
All classes that implement SimplenewsSourceEntityInterface
File
- includes/
simplenews.source.inc, line 114 - Contains SimplenewsSource interface and implementations.
View source
interface SimplenewsSourceEntityInterface extends SimplenewsSourceInterface {
/**
* Create a source based on an entity.
*/
function __construct($entity, $subscriber, $entity_type);
/**
* Returns the actually used entity of this source.
*/
function getEntity();
/**
* Returns the entity type of the given entity.
*/
function getEntityType();
/**
* Returns the subscriber object.
*/
function getSubscriber();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SimplenewsSourceEntityInterface:: |
function | Returns the actually used entity of this source. | 1 | |
SimplenewsSourceEntityInterface:: |
function | Returns the entity type of the given entity. | 1 | |
SimplenewsSourceEntityInterface:: |
function | Returns the subscriber object. | 1 | |
SimplenewsSourceEntityInterface:: |
function | Create a source based on an entity. | 1 | |
SimplenewsSourceInterface:: |
function | Returns an array of attachments for this newsletter mail. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the mail body. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the mail footer. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the mail format. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the plain mail address. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the formatted from mail address. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the mail headers. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the mail key to be used for drupal_mail(). | 2 | |
SimplenewsSourceInterface:: |
function | The language that should be used for this newsletter mail. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the plaintext body. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the plain footer. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the recipent of this newsletter mail. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the mail subject. | 2 | |
SimplenewsSourceInterface:: |
function | Returns the token context to be used with token replacements. | 2 |