You are here

public static function Glyphicons::getLibraryPath in CKEditor Bootstrap Glyphicon 8

Get path to library folder.

3 calls to Glyphicons::getLibraryPath()
Glyphicons::getButtons in src/Plugin/CKEditorPlugin/Glyphicons.php
Returns the buttons that this plugin provides, along with metadata.
Glyphicons::getCssFiles in src/Plugin/CKEditorPlugin/Glyphicons.php
Retrieves enabled plugins' iframe instance CSS files.
Glyphicons::getFile in src/Plugin/CKEditorPlugin/Glyphicons.php
Returns the Drupal root-relative file path to the plugin JavaScript file.

File

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

Class

Glyphicons
Defines the "glyphicons" plugin.

Namespace

Drupal\glyphicons\Plugin\CKEditorPlugin

Code

public static function getLibraryPath() {
  return \Drupal::service('library.libraries_directory_file_finder')
    ->find('glyphicons');
}