protected property LibraryBuilderTest::$localFixture in The CodeMirror Editor 8
CodeMirror library definition when CDN option is 'Off'.
Type: array
File
- tests/
src/ Kernel/ LibraryBuilderTest.php, line 24
Class
- LibraryBuilderTest
- A test for codemirror_editor_library_info_build().
Namespace
Drupal\Tests\codemirror_editor\KernelCode
protected $localFixture = [
'remote' => 'https://codemirror.net',
'version' => '5.51.0',
'license' => [
'name' => 'MIT',
'url' => 'http://codemirror.net/LICENSE',
'gpl-compatible' => TRUE,
],
'js' => [
'/libraries/codemirror/lib/codemirror.js' => [],
'/libraries/codemirror/mode/xml/xml.js' => [],
'/libraries/codemirror/mode/clike/clike.js' => [],
'/libraries/codemirror/mode/php/php.js' => [],
'/libraries/codemirror/mode/css/css.js' => [],
'/libraries/codemirror/addon/fold/foldcode.js' => [],
'/libraries/codemirror/addon/fold/foldgutter.js' => [],
'/libraries/codemirror/addon/fold/brace-fold.js' => [],
'/libraries/codemirror/addon/fold/xml-fold.js' => [],
'/libraries/codemirror/addon/fold/comment-fold.js' => [],
'/libraries/codemirror/addon/display/autorefresh.js' => [],
'/libraries/codemirror/addon/display/fullscreen.js' => [],
'/libraries/codemirror/addon/display/placeholder.js' => [],
'/libraries/codemirror/addon/mode/overlay.js' => [],
'/libraries/codemirror/addon/edit/closetag.js' => [],
'/libraries/codemirror/addon/comment/comment.js' => [],
'/libraries/codemirror/addon/selection/active-line.js' => [],
],
'css' => [
'component' => [
'/libraries/codemirror/lib/codemirror.css' => [],
'/libraries/codemirror/addon/fold/foldgutter.css' => [],
'/libraries/codemirror/addon/display/fullscreen.css' => [],
],
],
];