ckeditor_indentblock.module in CKEditor IndentBlock 8
Adds a hook for attaching a css file with indentation information to each page.
File
ckeditor_indentblock.moduleView source
<?php
/**
* @file
* Adds a hook for attaching a css file with indentation information to each page.
*/
/**
* Implements hook_page_attachments().
*
* Adds the ckeditor.indentblock.css with indentation css to each page.
*/
function ckeditor_indentblock_page_attachments(array &$page) {
$page['#attached']['library'][] = 'ckeditor_indentblock/indentblock';
}
Functions
Name | Description |
---|---|
ckeditor_indentblock_page_attachments | Implements hook_page_attachments(). |