You are here

protected function SplitText::getLibraryPath in Thunder 8.2

Returns the path of the javascript files.

Return value

string Path to javascript files.

2 calls to SplitText::getLibraryPath()
SplitText::getButtons in modules/thunder_paragraphs/modules/paragraph_split_text/src/Plugin/CKEditorPlugin/SplitText.php
Returns the buttons that this plugin provides, along with metadata.
SplitText::getFile in modules/thunder_paragraphs/modules/paragraph_split_text/src/Plugin/CKEditorPlugin/SplitText.php
Returns the Drupal root-relative file path to the plugin JavaScript file.

File

modules/thunder_paragraphs/modules/paragraph_split_text/src/Plugin/CKEditorPlugin/SplitText.php, line 54

Class

SplitText
Defines the "SCAYT" plugin.

Namespace

Drupal\paragraph_split_text\Plugin\CKEditorPlugin

Code

protected function getLibraryPath() {
  $path = drupal_get_path('module', 'paragraph_split_text') . '/js/plugins/splittext';
  return $path;
}