ckeditor_details.module in CKeditor Details Accordion 2.x
Same filename and directory in other branches
Hook implementations for the CKeditor Details Accordion module.
File
ckeditor_details.moduleView source
<?php
/**
* @file
* Hook implementations for the CKeditor Details Accordion module.
*/
/**
* Implements hook_page_attachments().
*/
function ckeditor_details_page_attachments(array &$page) {
// Add the shim to support details in older IE and pre-Chromium Edge browsers.
$page['#attached']['library'][] = 'core/drupal.collapse';
}
Functions
Name | Description |
---|---|
ckeditor_details_page_attachments | Implements hook_page_attachments(). |