You are here

function ckeditor_details_page_attachments in CKeditor Details Accordion 8

Same name and namespace in other branches
  1. 2.x ckeditor_details.module \ckeditor_details_page_attachments()

Implements hook_page_attachments().

File

./ckeditor_details.module, line 11
Hook implementations for the CKeditor Details Accordion module.

Code

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';
}