You are here

public function S3FileMap::remove in Acquia Content Hub 8.2

Removes an element from the map table by its uuid.

Parameters

string $file_uuid: The file uuid.

File

modules/acquia_contenthub_s3/src/S3FileMap.php, line 123

Class

S3FileMap
Responsible for storing information about file s3 source.

Namespace

Drupal\acquia_contenthub_s3

Code

public function remove(string $file_uuid) : void {
  $this->database
    ->delete(self::TABLE_NAME)
    ->condition('file_uuid', $file_uuid, '=')
    ->execute();
}