function cookie_content_blocker_ckeditor_ckeditor_plugin in Cookie Content Blocker 7
Implements hook_ckeditor_plugin().
File
- modules/
cookie_content_blocker_ckeditor/ cookie_content_blocker_ckeditor.module, line 23 - Contains the main module code for Cookie content blocker - CKEditor.
Code
function cookie_content_blocker_ckeditor_ckeditor_plugin() {
return array(
'cookieContentBlocker' => array(
'name' => 'cookieContentBlocker',
'desc' => t('Plugin for blocking content/html until consent is given'),
'path' => drupal_get_path('module', 'cookie_content_blocker_ckeditor') . '/plugins/ckeditor/cookie_content_blocker/',
'buttons' => array(
'cookieContentBlocker' => array(
// Don't use t(), the label will automatically be translatable.
'label' => 'Add Cookie content blocked content',
'icon' => 'images/icon.png',
),
),
),
);
}