protected function FormatterDependenciesTest::loadEntityDisplay in Video Embed Field 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/FormatterDependenciesTest.php \Drupal\Tests\video_embed_field\Kernel\FormatterDependenciesTest::loadEntityDisplay()
Load the entity display for the test entity.
Return value
\Drupal\Core\Entity\Display\EntityViewDisplayInterface The entity display for the test entity.
File
- tests/
src/ Kernel/ FormatterDependenciesTest.php, line 97
Class
- FormatterDependenciesTest
- Test the configuration dependencies are created correctly.
Namespace
Drupal\Tests\video_embed_field\KernelCode
protected function loadEntityDisplay() {
return $this->entityTypeManager
->getStorage('entity_view_display')
->load('entity_test.entity_test.default');
}