Source in Simplenews 7
Same name and namespace in other branches
- 8.2 simplenews.api.php \source
- 8 simplenews.api.php \source
- 7.2 simplenews.api.php \source
- 3.x simplenews.api.php \source
@todo
File
- ./
simplenews.api.php, line 58 - Hooks provided by the Simplenews module.
Functions
|
Name |
Location | Description |
|---|---|---|
| hook_simplenews_source_cache_info |
./ |
Expose SimplenewsSource cache implementations. |
| simplenews_build_newsletter_mail |
includes/ |
Build subject and body of the test and normal newsletter email. |
| simplenews_get_source_caches |
./ |
Returns the available simplenews sources. |
| simplenews_send_source |
includes/ |
Send a node to an email address. |
| simplenews_simplenews_source_cache_info |
./ |
Implements hook_simplenews_source_cache_info(). |
Classes
|
Name |
Location | Description |
|---|---|---|
| SimplenewsSourceCacheBuild |
includes/ |
Source cache implementation that caches build and data element. |
| SimplenewsSourceCacheNone |
includes/ |
Cache implementation that does not cache anything at all. |
| SimplenewsSourceCacheStatic |
includes/ |
Abstract implementation of the source caching that does static caching. |
| SimplenewsSourceNode |
includes/ |
Simplenews source implementation based on nodes for a single subscriber. |
| SimplenewsSourceTest |
includes/ |
Example source implementation used for tests. |
Interfaces
|
Name |
Location | Description |
|---|---|---|
| SimplenewsSourceCacheInterface |
includes/ |
Interface for a simplenews source cache implementation. |
| SimplenewsSourceInterface |
includes/ |
The source used to build a newsletter mail. |
| SimplenewsSourceNodeInterface |
includes/ |
Source interface based on a node. |