function LlamaContextualAndButton::getFile

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

Overrides Llama::getFile

File

core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php, line 51

Class

LlamaContextualAndButton
Defines a "LlamaContextualAndButton" plugin, with a "llama" feature.

Namespace

Drupal\ckeditor_test\Plugin\CKEditorPlugin

Code

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

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