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
File
- tests/
src/ FunctionalJavaScript/ InsertImageTestBase.php, line 27
Class
Namespace
Drupal\Tests\insert\FunctionalJavascriptCode
protected function createImageField($name, array $field_settings = []) {
$this
->drupalCreateImageField($name, $this->contentTypeName, [], $field_settings);
}