You are here

public function backup_migrate_destination::count_files in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/destinations.inc \backup_migrate_destination::count_files()
  2. 6.3 includes/destinations.inc \backup_migrate_destination::count_files()

Count all the available files in the given destination.

File

includes/destinations.inc, line 909

Class

backup_migrate_destination
A base class for creating destinations.

Code

public function count_files() {
  return count($this
    ->list_files());
}