You are here

ckeditor_details.module in CKeditor Details Accordion 2.x

Same filename and directory in other branches
  1. 8 ckeditor_details.module

Hook implementations for the CKeditor Details Accordion module.

File

ckeditor_details.module
View 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