You are here

protected function EntityReferenceTestBase::getReferencableEntityTypeId in Feeds 8.3

Returns the entity type machine name to use in this test.

Return value

string The entity type ID.

3 calls to EntityReferenceTestBase::getReferencableEntityTypeId()
EntityReferenceTestBase::createTargetDefinitionMock in tests/src/Unit/Feeds/Target/EntityReferenceTestBase.php
Creates a Feeds target definition mock.
EntityReferenceTestBase::setUp in tests/src/Unit/Feeds/Target/EntityReferenceTestBase.php
EntityReferenceTestBase::testPrepareTarget in tests/src/Unit/Feeds/Target/EntityReferenceTestBase.php
@covers ::prepareTarget
1 method overrides EntityReferenceTestBase::getReferencableEntityTypeId()
UserRoleTest::getReferencableEntityTypeId in tests/src/Unit/Feeds/Target/UserRoleTest.php
Returns the entity type machine name to use in this test.

File

tests/src/Unit/Feeds/Target/EntityReferenceTestBase.php, line 87

Class

EntityReferenceTestBase
Base class for entity reference target tests.

Namespace

Drupal\Tests\feeds\Unit\Feeds\Target

Code

protected function getReferencableEntityTypeId() {
  return 'referenceable_entity_type';
}