protected function InlineEntityIntegrationTest::setUp in Entity Browser 8
Same name and namespace in other branches
- 8.2 modules/entity_form/src/Tests/InlineEntityIntegrationTest.php \Drupal\entity_browser_entity_form\Tests\InlineEntityIntegrationTest::setUp()
Overrides BrowserTestBase::setUp
File
- modules/
entity_form/ src/ Tests/ InlineEntityIntegrationTest.php, line 35
Class
- InlineEntityIntegrationTest
- Tests integration with Inline entity form.
Namespace
Drupal\entity_browser_entity_form\TestsCode
protected function setUp() {
parent::setUp();
// Delete unnecessary entity browser.
$browser = $this->container
->get('entity_type.manager')
->getStorage('entity_browser')
->load('entity_browser_test_entity_form');
$this->container
->get('entity_type.manager')
->getStorage('entity_browser')
->delete([
$browser,
]);
}