You are here

public function CKEditorIntegrationTest::linkabilityProvider in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php \Drupal\Tests\media\FunctionalJavascript\CKEditorIntegrationTest::linkabilityProvider()

Data Provider for ::testLinkability.

File

core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php, line 1008

Class

CKEditorIntegrationTest
@coversDefaultClass \Drupal\media\Plugin\CKEditorPlugin\DrupalMedia @group media

Namespace

Drupal\Tests\media\FunctionalJavascript

Code

public function linkabilityProvider() {
  return [
    'linkability when `drupalimage` is enabled' => [
      TRUE,
    ],
    'linkability when `drupalimage` is disabled' => [
      FALSE,
    ],
  ];
}