function LlamaButton::getFile

Same name in other branches
  1. 8.9.x core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php \Drupal\ckeditor_test\Plugin\CKEditorPlugin\LlamaButton::getFile()

Overrides Llama::getFile

File

core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php, line 31

Class

LlamaButton
Defines a "LlamaButton" plugin, with a toolbar builder-enabled "llama" feature.

Namespace

Drupal\ckeditor_test\Plugin\CKEditorPlugin

Code

public function getFile() {
    return $this->moduleList
        ->getPath('ckeditor_test') . '/js/llama_button.js';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.