You are here

public function A11yCheckerPlugin::getButtons in CKEditor Accessibility Checker 7

Same name and namespace in other branches
  1. 8 src/Plugin/CKEditorPlugin/A11yCheckerPlugin.php \Drupal\ckeditor_a11ychecker\Plugin\CKEditorPlugin\A11yCheckerPlugin::getButtons()
  2. 2.0.x src/Plugin/CKEditorPlugin/A11yCheckerPlugin.php \Drupal\ckeditor_a11ychecker\Plugin\CKEditorPlugin\A11yCheckerPlugin::getButtons()

File

src/Plugin/CKEditorPlugin/A11yCheckerPlugin.php, line 42

Class

A11yCheckerPlugin
Defines the "a11ychecker" plugin.

Namespace

Drupal\ckeditor_a11ychecker\Plugin\CKEditorPlugin

Code

public function getButtons() {
  return array(
    'A11ychecker' => array(
      'label' => t('Accessibility Checker'),
      'image' => base_path() . 'libraries/a11ychecker/icons/a11ychecker.png',
    ),
  );
}