You are here

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

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

Overrides CKEditorPluginInterface::getFile

File

src/Plugin/CKEditorPlugin/FakeObjects.php, line 23

Class

FakeObjects
Defines the "fakeobjects" plugin.

Namespace

Drupal\anchor_link\Plugin\CKEditorPlugin

Code

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