You are here

protected function InsertImageTestBase::createImageField in Insert 8.2

Parameters

string $name:

array (optional) $field_settings:

20 calls to InsertImageTestBase::createImageField()
InsertColorboxTest::testGallery in modules/insert_colorbox/tests/src/FunctionalJavaScript/InsertColorboxTest.php
InsertColorboxTest::testLinkWidgetSetting in modules/insert_colorbox/tests/src/FunctionalJavaScript/InsertColorboxTest.php
InsertColorboxTest::testWithoutGallery in modules/insert_colorbox/tests/src/FunctionalJavaScript/InsertColorboxTest.php
InsertImageCKEditorTest::testAlign in tests/src/FunctionalJavaScript/InsertImageCKEditorTest.php
InsertImageCKEditorTest::testCaption in tests/src/FunctionalJavaScript/InsertImageCKEditorTest.php

... See full list

File

tests/src/FunctionalJavaScript/InsertImageTestBase.php, line 27

Class

InsertImageTestBase

Namespace

Drupal\Tests\insert\FunctionalJavascript

Code

protected function createImageField($name, array $field_settings = []) {
  $this
    ->drupalCreateImageField($name, $this->contentTypeName, [], $field_settings);
}