Creates entity objects based on their types.
string $entity_type: The type of the entity that should be created.
\Drupal\Core\Entity\EntityInterface The new entity object.
protected function entityCreate($entity_type) {
return entity_create($entity_type, $this
->entityValues($entity_type));
}