You are here

protected function VariableTranslation::doCount in Drupal 10

Same name in this branch
  1. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::doCount()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::doCount()

Gets the source count using countQuery().

Overrides SqlBase::doCount

File

core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php, line 97

Class

VariableTranslation
Drupal 7 variable_store source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source\d7

Code

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