public function EmptySource::count in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/source/EmptySource.php \Drupal\migrate\Plugin\migrate\source\EmptySource::count()
Get the source count.
Return a count of available source records, from the cache if appropriate. Returns -1 if the source is not countable.
Parameters
bool $refresh: Whether or not to refresh the count.
Return value
int The count.
Overrides SourcePluginBase::count
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ EmptySource.php, line 52 - Contains \Drupal\migrate\Plugin\migrate\source\EmptySource.
Class
- EmptySource
- Source returning an empty row.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function count() {
return 1;
}