Skip to content
Snippets Groups Projects
Commit 3effe965 authored by Dave Reid's avatar Dave Reid Committed by Simon Georges
Browse files

First attempt at fixing #1229910: bad use of Token API

parent 6bde43ac
No related merge requests found
......@@ -2502,17 +2502,17 @@ function simplenews_token_info() {
$types['simplenews-subscriber'] = array(
'name' => t('Simplenews subscriber'),
'description' => t('@todo .'),
'needs-data' => 'simplenews-subscriber',
'needs-data' => 'account',
);
$types['simplenews-newsletter'] = array(
'name' => t('Simplenews newsletter'),
'description' => t('@todo .'),
'needs-data' => 'simplenews-newsletter',
'needs-data' => 'node',
);
$types['simplenews-category'] = array(
'name' => t('Simplenews newsletter category'),
'description' => t('@todo .'),
'needs-data' => 'simplenews-category',
'needs-data' => 'category',
);
// Tokens for simplenews subscriber.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment