You are here

public function ListableDestinationInterface::queryFiles in Backup and Migrate 5.0.x

Run a basic query with sort on the list of files.

Parameters

array $filters: An array of metadata fields to filter by.

string $sort: A metadata field to sort by, defaults to 'datestamp'.

int $sort_direction: The direction to sort by, either SORT_ASC or SORT_DESC.

int $count: The number of records to obtain.

int $start: The first item to start the result set from.

Return value

mixed

1 method overrides ListableDestinationInterface::queryFiles()
DirectoryDestination::queryFiles in src/Core/Destination/DirectoryDestination.php
Run a basic query with sort on the list of files.

File

src/Core/Destination/ListableDestinationInterface.php, line 44

Class

ListableDestinationInterface
Interface ListableDestinationInterface.

Namespace

Drupal\backup_migrate\Core\Destination

Code

public function queryFiles(array $filters = [], $sort = 'datestamp', $sort_direction = SORT_DESC, $count = 100, $start = 0);