function MediaTest::linkabilityProvider

Data Provider for ::testLinkability.

File

core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php, line 1026

Class

MediaTest
@coversDefaultClass \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalMedia @group ckeditor @group legacy

Namespace

Drupal\Tests\ckeditor\FunctionalJavascript

Code

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

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