1 ckeditor5_upgrade_test.module | ckeditor5_upgrade_test_ckeditor5_upgrade_button_mapping_alter(&$button_mapping) |
Implements hook_ckeditor5_upgrade_button_mapping_alter().
File
- core/
modules/ ckeditor5/ tests/ ckeditor5_upgrade_test/ ckeditor5_upgrade_test.module, line 10 - Provides assisting code for testing a CKEditor 4 to CKEditor 5 upgrade.
Code
function ckeditor5_upgrade_test_ckeditor5_upgrade_button_mapping_alter(&$button_mapping) {
// Map a test button (present in ckeditor_upgrade3 text format).
$button_mapping['TestButton'] = 'testButton';
}