You are here

public function PhotosUploadInterface::cleanTitle in Album Photos 6.0.x

Same name and namespace in other branches
  1. 8.5 src/PhotosUploadInterface.php \Drupal\photos\PhotosUploadInterface::cleanTitle()

Rename file with random name.

Parameters

string $title: The file name.

Return value

string The new name.

1 method overrides PhotosUploadInterface::cleanTitle()
PhotosUpload::cleanTitle in src/PhotosUpload.php
Rename file with random name.

File

src/PhotosUploadInterface.php, line 21

Class

PhotosUploadInterface
Photos upload and file management functions.

Namespace

Drupal\photos

Code

public function cleanTitle($title = '');