You are here

protected property LibraryBuilderTest::$remoteFixture in The CodeMirror Editor 8

CodeMirror library definition when CDN option is 'On'.

Type: array

File

tests/src/Kernel/LibraryBuilderTest.php, line 65

Class

LibraryBuilderTest
A test for codemirror_editor_library_info_build().

Namespace

Drupal\Tests\codemirror_editor\Kernel

Code

protected $remoteFixture = [
  'remote' => 'https://codemirror.net',
  'version' => '5.51.0',
  'license' => [
    'name' => 'MIT',
    'url' => 'http://codemirror.net/LICENSE',
    'gpl-compatible' => TRUE,
  ],
  'js' => [
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/lib/codemirror.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/mode/xml/xml.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/mode/clike/clike.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/mode/php/php.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/mode/css/css.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/fold/foldcode.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/fold/foldgutter.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/fold/brace-fold.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/fold/xml-fold.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/fold/comment-fold.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/display/autorefresh.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/display/fullscreen.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/display/placeholder.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/mode/overlay.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/edit/closetag.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/comment/comment.js' => [
      'type' => 'external',
    ],
    'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/selection/active-line.js' => [
      'type' => 'external',
    ],
  ],
  'css' => [
    'component' => [
      'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/lib/codemirror.css' => [
        'type' => 'external',
      ],
      'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/fold/foldgutter.css' => [
        'type' => 'external',
      ],
      'https://cdn.jsdelivr.net/npm/codemirror@5.51.0/addon/display/fullscreen.css' => [
        'type' => 'external',
      ],
    ],
  ],
];