function BaseFieldDefinitionTest::create
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\BaseFieldDefinitionTest::create()
- 8.9.x core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\BaseFieldDefinitionTest::create()
- 11.x core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\BaseFieldDefinitionTest::create()
Overrides BaseFieldDefinition::create
3 calls to BaseFieldDefinitionTest::create()
- EntityContentBaseTest::testUntranslatable in core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityContentBaseTest.php - Tests that translation destination fails for untranslatable entities.
- EntityRevisionTest::testUnrevisionable in core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityRevisionTest.php - Tests that revision destination fails for unrevisionable entities.
- EntityRevisionTest::testUntranslatable in core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityRevisionTest.php - Tests that translation destination fails for untranslatable entities.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityTestBase.php, line 62
Class
- BaseFieldDefinitionTest
- Stub class for BaseFieldDefinition.
Namespace
Drupal\Tests\migrate\Unit\Plugin\migrate\destinationCode
public static function create($type) {
return new static([]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.