function picture_ckeditor_plugin in Picture 7
Same name and namespace in other branches
- 7.2 picture.module \picture_ckeditor_plugin()
Implements hook_ckeditor_plugin() to modify the CKEditor image dialog for use with the picture module.
File
- ./
picture.module, line 1448 - Picture formatter.
Code
function picture_ckeditor_plugin() {
return array(
'picture_ckeditor' => array(
// Name of the plugin used to write it.
'name' => 'picture_ckeditor',
// Description of the plugin - it would be displayed in the plugins management section of profile settings.
'desc' => t('Support responsive images with the Picture module.'),
// The full path to the CKEditor plugins directory, with the trailing slash.
'buttons' => FALSE,
'path' => drupal_get_path('module', 'picture') . '/plugins/',
'default' => 't',
),
);
}