You are here

public function TranslationsDataCollector::getUntranslatedCount in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/TranslationsDataCollector.php \Drupal\webprofiler\DataCollector\TranslationsDataCollector::getUntranslatedCount()
  2. 8 webprofiler/src/DataCollector/TranslationsDataCollector.php \Drupal\webprofiler\DataCollector\TranslationsDataCollector::getUntranslatedCount()
  3. 8.2 webprofiler/src/DataCollector/TranslationsDataCollector.php \Drupal\webprofiler\DataCollector\TranslationsDataCollector::getUntranslatedCount()

Return value

int

1 call to TranslationsDataCollector::getUntranslatedCount()
TranslationsDataCollector::getPanelSummary in webprofiler/src/DataCollector/TranslationsDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/TranslationsDataCollector.php, line 65

Class

TranslationsDataCollector
Class TranslationsDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getUntranslatedCount() {
  return count($this->data['translations']['untranslated']);
}