function ImageTestBase::imageAttributes

Same name and namespace in other branches
  1. 11.x core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php \Drupal\Tests\ckeditor5\FunctionalJavascript\ImageTestBase::imageAttributes()

Provides the relevant image attributes.

Return value

string[]

File

core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php, line 57

Class

ImageTestBase
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image[[api-linebreak]] @group ckeditor5 @internal

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

protected function imageAttributes() {
  return [
    'src' => '/core/misc/druplicon.png',
  ];
}

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