protected function EmptySource::doCount in Drupal 10
Gets the source count checking if the source is countable or using the iterator_count function.
Return value
int
Overrides SourcePluginBase::doCount
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ EmptySource.php, line 66
Class
- EmptySource
- Source returning a row based on the constants provided.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
protected function doCount() {
return 1;
}