function editor_note_delete in Editor Notes 7
Deletes single note.
Parameters
int|string $note_id: The unique ID of the note entry.
1 call to editor_note_delete()
- editor_note_confirm_remove_form_remove in ./
editor_note.pages.inc - Submit callback for 'Remove' button in 'editor_note_confirm_remove_form'.
File
- ./
editor_note.module, line 1080 - Main functionality for Editor Notes module.
Code
function editor_note_delete($note_id) {
entity_delete('editor_note', $note_id);
}