You are here

public function AnchorLink::getFile in CKEditor Anchor Link - For Drupal 8 and 9 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/CKEditorPlugin/AnchorLink.php \Drupal\anchor_link\Plugin\CKEditorPlugin\AnchorLink::getFile()

Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile().

Overrides CKEditorPluginInterface::getFile

File

src/Plugin/CKEditorPlugin/AnchorLink.php, line 22

Class

AnchorLink
Defines the "link" plugin.

Namespace

Drupal\anchor_link\Plugin\CKEditorPlugin

Code

public function getFile() {
  return drupal_get_path('module', 'anchor_link') . '/js/plugins/link/plugin.js';
}