Commit cd29dc4d authored by Eelke Blok's avatar Eelke Blok
Browse files

Issue #2996830 by AstonVictor, eelkeblok: Fix coding standard violations

parent 91c900a6
Loading
Loading
Loading
Loading

ckeditor_smiley.module

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
<?php
+11 −16
Original line number Diff line number Diff line
<?php

/**
 * @file
 * Contains \Drupal\ckeditor_smiley\Plugin\CKEditorPlugin\SmileyCKEditorButton.
 */

namespace Drupal\ckeditor_smiley\Plugin\CKEditorPlugin;

use Drupal\ckeditor\CKEditorPluginBase;
@@ -34,12 +29,12 @@ class SmileyCKEditorButton extends CKEditorPluginBase {
  public function getButtons() {
    // Make sure that the path to the image matches the file structure of
    // the CKEditor plugin you are implementing.
    return array(
      'Smiley' => array(
    return [
      'Smiley' => [
        'label' => t('Smiley ckeditor button'),
        'image' => 'libraries/smiley/icons/smiley.png',
      ),
    );
      ],
    ];
  }

  /**
@@ -52,29 +47,29 @@ class SmileyCKEditorButton extends CKEditorPluginBase {
  /**
   * {@inheritdoc}
   */
  function isInternal() {
  public function isInternal() {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  function getDependencies(Editor $editor) {
    return array();
  public function getDependencies(Editor $editor) {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  function getLibraries(Editor $editor) {
    return array();
  public function getLibraries(Editor $editor) {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getConfig(Editor $editor) {
    return array();
    return [];
  }

}