editor_note-8.x-1.x-dev/editor_note.api.php

editor_note.api.php
<?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".
 */

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc