protected function ComplexSimpleWidgetTest::setUp in Inline Entity Form 8
Overrides InlineEntityFormTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ ComplexSimpleWidgetTest.php, line 28
Class
- ComplexSimpleWidgetTest
- IEF complex field widget containing an IEF simple field widget tests.
Namespace
Drupal\Tests\inline_entity_form\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this->user = $this
->createUser([
'create ief_complex_simple content',
'create ief_simple_single content',
'create ief_test_custom content',
'view own unpublished content',
]);
$this
->drupalLogin($this->user);
$this->fieldConfigStorage = $this->container
->get('entity_type.manager')
->getStorage('field_config');
}