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