function QuickEditImageTest::providerTestImageInPlaceEditor

Same name in other branches
  1. 8.9.x core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php \Drupal\Tests\image\FunctionalJavascript\QuickEditImageTest::providerTestImageInPlaceEditor()

Data provider for ::testImageInPlaceEditor().

Return value

array Test cases.

File

core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditImageTest.php, line 227

Class

QuickEditImageTest
@coversDefaultClass \Drupal\quickedit\Plugin\InPlaceEditor\Image @group quickedit @group legacy

Namespace

Drupal\Tests\quickedit\FunctionalJavascript

Code

public function providerTestImageInPlaceEditor() : array {
    return [
        'with permission' => [
            TRUE,
        ],
        'without permission' => [
            FALSE,
        ],
    ];
}

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