You are here

editor_note.api.php in Editor Notes 8

Same filename and directory in other branches
  1. 7 editor_note.api.php

Hooks for the editor_note module.

File

editor_note.api.php
View 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

Namesort descending Description
hook_editor_note_format_notes Alter editor note table by other modules.