protected function EntityFinder::getBundleKey in Feeds 8.3
Returns the entity type's bundle key.
Parameters
string $entity_type_id: The entity type ID.
Return value
string The bundle key of the entity type.
1 call to EntityFinder::getBundleKey()
- EntityFinder::findEntities in src/
EntityFinder.php - Searches for entities by entity key.
File
- src/
EntityFinder.php, line 77
Class
- EntityFinder
- Searches for existing entities by a certain field.
Namespace
Drupal\feedsCode
protected function getBundleKey(string $entity_type_id) {
return $this->entityTypeManager
->getDefinition($entity_type_id)
->getKey('bundle');
}