You are here

public function FileUploadResponse::setFileEntities in GraphQL 8.4

Sets file entities.

Parameters

\Drupal\file\FileInterface[] $fileEntities: File entities.

File

src/GraphQL/Response/FileUploadResponse.php, line 37

Class

FileUploadResponse
A response that either has a file entity or some violations.

Namespace

Drupal\graphql\GraphQL\Response

Code

public function setFileEntities(array $fileEntities) : void {
  $this->fileEntities = $fileEntities;
}