W3cubDocs

/Drupal 8

editor.module

Adds bindings for client-side "text editors" to text formats.

File

core/modules/editor/editor.module

Functions

Name Description
editor_element_info_alter Implements hook_element_info_alter().
editor_entity_delete Implements hook_entity_delete().
editor_entity_insert Implements hook_entity_insert().
editor_entity_revision_delete Implements hook_entity_revision_delete().
editor_entity_update Implements hook_entity_update().
editor_filter_format_presave Implements hook_ENTITY_TYPE_presave().
editor_filter_xss Applies text editor XSS filtering.
editor_form_filter_admin_format_editor_configure Button submit handler for filter_format_form()'s 'editor_configure' button.
editor_form_filter_admin_format_submit Additional submit handler for filter_format_form().
editor_form_filter_admin_format_validate Additional validate handler for filter_format_form().
editor_form_filter_admin_form_ajax AJAX callback handler for filter_format_form().
editor_form_filter_admin_overview_alter Implements hook_form_FORM_ID_alter() for \Drupal\filter\FilterFormatListBuilder.
editor_form_filter_format_form_alter Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
editor_help Implements hook_help().
editor_load Loads an individual configured text editor based on text format ID.
editor_menu_links_discovered_alter Implements hook_menu_links_discovered_alter().
_editor_delete_file_usage Deletes file usage of files referenced by formatted text fields.
_editor_get_file_uuids_by_field Finds all files referenced (data-entity-uuid) by formatted text fields.
_editor_get_formatted_text_fields Determines the formatted text fields on an entity.
_editor_parse_file_uuids Parse an HTML snippet for any linked file with data-entity-uuid attributes.
_editor_record_file_usage Records file usage of files referenced by formatted text fields.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!editor!editor.module/8.1.x