You are here

protected function File::getBundles in Feeds 8.3

The file entity doesn't support any bundles. Providing an empty array here will prevent the bundle check from being added in the find entity query.

Overrides EntityReference::getBundles

1 call to File::getBundles()
File::createEntity in src/Feeds/Target/File.php
Creates a new entity with the given label and saves it.

File

src/Feeds/Target/File.php, line 160

Class

File
Defines a file field mapper.

Namespace

Drupal\feeds\Feeds\Target

Code

protected function getBundles() {
  return [];
}