1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* Wysiwyg API integration.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
5721e759
|
Assos Assos
|
* Implementats of hook_wysiwyg_plugin().
|
10 |
85ad3d82
|
Assos Assos
|
*/
|
11 |
|
|
function token_insert_wysiwyg_token_insert_wysiwyg_plugin() {
|
12 |
|
|
$plugins['token_insert_wysiwyg'] = array(
|
13 |
|
|
'title' => t('Insert token'),
|
14 |
|
|
'vendor url' => 'http://drupal.org/project/token_insert',
|
15 |
|
|
'icon file' => 'insert.png',
|
16 |
|
|
'icon title' => t('Insert a token'),
|
17 |
|
|
'settings' => array(),
|
18 |
|
|
);
|
19 |
|
|
return $plugins;
|
20 |
|
|
}
|