function VariableTranslation::doCount

Same name in this branch
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::doCount()
Same name in other branches
  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()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::doCount()
  4. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::doCount()

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.