1 ckeditor5_upgrade_test.module ckeditor5_upgrade_test_ckeditor5_plugins()

Implements hook_ckeditor5_plugins().

File

core/modules/ckeditor5/tests/ckeditor5_upgrade_test/ckeditor5_upgrade_test.module, line 32
Provides assisting code for testing a CKEditor 4 to CKEditor 5 upgrade.

Code

function ckeditor5_upgrade_test_ckeditor5_plugins() {
  $plugins['upgradeTest.UpgradeTest'] = array(
    'buttons' => array(
      'testButton' => array(
        'label' => 'Test Button',
        'image_alternative' => '<span class="ckeditor5-upgrade-test">Test Button</span>',
      ),
    ),
    'enabled_callback' => FALSE,
  );
  return $plugins;
}