function bynder_ckeditor_css_alter in Bynder 4.0.x
Implements hook_ckeditor_css_alter().
File
- ./
bynder.module, line 259 - Provides bynder integration.
Code
function bynder_ckeditor_css_alter(array &$css, Editor $editor) {
if (!$editor
->hasAssociatedFilterFormat()) {
return;
}
// Add the bynder usage CSS so that the bynder logo is positioned over the
// asset on hover and is sized appropriately.
$css[] = drupal_get_path('module', 'bynder') . '/css/bynder.formatter.css';
}