public function TranslationsDataCollector::getTranslatedCount in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/TranslationsDataCollector.php \Drupal\webprofiler\DataCollector\TranslationsDataCollector::getTranslatedCount()
- 8 webprofiler/src/DataCollector/TranslationsDataCollector.php \Drupal\webprofiler\DataCollector\TranslationsDataCollector::getTranslatedCount()
- 8.2 webprofiler/src/DataCollector/TranslationsDataCollector.php \Drupal\webprofiler\DataCollector\TranslationsDataCollector::getTranslatedCount()
Return value
int
1 call to TranslationsDataCollector::getTranslatedCount()
- TranslationsDataCollector::getPanelSummary in webprofiler/
src/ DataCollector/ TranslationsDataCollector.php - Returns the string used in vertical tab summary.
File
- webprofiler/
src/ DataCollector/ TranslationsDataCollector.php, line 58
Class
- TranslationsDataCollector
- Class TranslationsDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getTranslatedCount() {
return count($this->data['translations']['translated']);
}