Performs alterations on text editor definitions.
array $editors: An array of metadata of text editors, as collected by the plugin annotation discovery mechanism.
\Drupal\editor\Plugin\EditorBase
function hook_editor_info_alter(array &$editors) {
$editors['some_other_editor']['label'] = t('A different name');
$editors['some_other_editor']['library']['module'] = 'myeditoroverride';
}