You are here

public function MigrateSourceYaml::computeCount in Migrate Source YAML 7

Return a count of all available source records.

Return value

int The number of source records.

File

includes/MigrateSourceYaml.inc, line 66
Contains MigrateSourceYaml.

Class

MigrateSourceYaml
Migrate source class to import from a YAML file.

Code

public function computeCount() {
  return count($this->data);
}