You are here

public function Imce::imageIcon in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/CKEditorPlugin/Imce.php \Drupal\imce\Plugin\CKEditorPlugin\Imce::imageIcon()

Returns image icon path.

Uses the icon from drupalimage plugin.

2 calls to Imce::imageIcon()
Imce::getButtons in src/Plugin/CKEditorPlugin/Imce.php
Returns the buttons that this plugin provides, along with metadata.
Imce::getConfig in src/Plugin/CKEditorPlugin/Imce.php
Returns the additions to CKEDITOR.config for a specific CKEditor instance.

File

src/Plugin/CKEditorPlugin/Imce.php, line 64

Class

Imce
Defines Imce plugin for CKEditor.

Namespace

Drupal\imce\Plugin\CKEditorPlugin

Code

public function imageIcon() {
  return drupal_get_path('module', 'imce') . '/js/plugins/ckeditor/icons/imceimage.png';
}