private function YoutubePlugin::getYoutubeLibraryPath in CKEditor Youtube 8
Return the plugin path.
Return value
string The path to the plugin.
2 calls to YoutubePlugin::getYoutubeLibraryPath()
- YoutubePlugin::getButtons in src/
Plugin/ CKEditorPlugin/ YoutubePlugin.php - Returns the buttons that this plugin provides, along with metadata.
- YoutubePlugin::getFile in src/
Plugin/ CKEditorPlugin/ YoutubePlugin.php - Returns the Drupal root-relative file path to the plugin JavaScript file.
File
- src/
Plugin/ CKEditorPlugin/ YoutubePlugin.php, line 102
Class
- YoutubePlugin
- Defines the "Youtube Button" plugin.
Namespace
Drupal\ckeditor_youtube\Plugin\CKEditorPluginCode
private function getYoutubeLibraryPath() {
$config = $this->configFactory
->get('ckeditor_youtube.settings');
return $config
->get('library_path');
}