function picture_wysiwyg_plugin in Picture 7.2
Same name and namespace in other branches
- 7 picture.module \picture_wysiwyg_plugin()
Implements hook_wysiwyg_plugin().
Modify the CKEditor image dialog for use with the picture module.
File
- ./
picture.module, line 2121 - Picture formatter.
Code
function picture_wysiwyg_plugin($editor, $version) {
if ($editor == 'ckeditor') {
return array(
'picture_ckeditor' => array(
'path' => drupal_get_path('module', 'picture') . '/ckeditor/plugins/',
'load' => TRUE,
'extensions' => array(
'picture_ckeditor' => t('Responsive images with the Picture Module'),
),
'url' => 'https://www.drupal.org/project/picture',
),
);
}
}