editor_note.api.php in Editor Notes 8
Same filename and directory in other branches
Hooks for the editor_note module.
File
editor_note.api.phpView source
<?php
/**
* @file
* Hooks for the editor_note module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alter editor note table by other modules.
*
* @param $info Devel dumper information to alter.
*/
function hook_editor_note_format_notes(&$formatted_notes) {
// Example.
$formatted_notes['notes_table']['#attributes']['class'] = [
'my-editor-note-table',
];
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name | Description |
---|---|
hook_editor_note_format_notes | Alter editor note table by other modules. |