You are here

protected function InsertFileTestBase::createFileField in Insert 8.2

Parameters

string $name:

array (optional) $field_settings:

12 calls to InsertFileTestBase::createFileField()
InsertFileTest::testAbsoluteUrlSetting in tests/src/FunctionalJavaScript/InsertFileTest.php
InsertFileTest::testAdditionalCssClassesSetting in tests/src/FunctionalJavaScript/InsertFileTest.php
InsertFileTest::testAutomaticStyle in tests/src/FunctionalJavaScript/InsertFileTest.php
InsertFileTest::testDescriptionField in tests/src/FunctionalJavaScript/InsertFileTest.php
InsertFileTest::testFocus in tests/src/FunctionalJavaScript/InsertFileTest.php

... See full list

File

tests/src/FunctionalJavaScript/InsertFileTestBase.php, line 75

Class

InsertFileTestBase

Namespace

Drupal\Tests\insert\FunctionalJavascript

Code

protected function createFileField($name, array $field_settings = []) {
  $this
    ->drupalCreateFileField($name, 'node', $this->contentTypeName, [], $field_settings);
}