public function ScaytCKEditorButton::getLibraryPath in CKEditor SpellCheckAsYouType (SCAYT) 8
1 call to ScaytCKEditorButton::getLibraryPath()
- ScaytCKEditorButton::getFile in src/
Plugin/ CKEditorPlugin/ ScaytCKEditorButton.php - Returns the Drupal root-relative file path to the plugin JavaScript file.
File
- src/
Plugin/ CKEditorPlugin/ ScaytCKEditorButton.php, line 147
Class
- ScaytCKEditorButton
- Defines the "scayt" plugin.
Namespace
Drupal\ckeditor_scayt\Plugin\CKEditorPluginCode
public function getLibraryPath() {
$version = $this
->getCkEditorVersion();
return drupal_get_path('module', 'ckeditor_scayt') . '/dist/scayt/' . $version;
}