function 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']);
}