You are here

protected function SearchPage::doCount in Drupal 10

Gets the source count using countQuery().

Overrides Variable::doCount

File

core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php, line 76

Class

SearchPage
Drupal 7 search active core modules and rankings source from database.

Namespace

Drupal\search\Plugin\migrate\source\d7

Code

protected function doCount() {
  return $this
    ->initializeIterator()
    ->count();
}