public function StateDataCollector::getStateKeysCount in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/StateDataCollector.php \Drupal\webprofiler\DataCollector\StateDataCollector::getStateKeysCount()
- 8.2 webprofiler/src/DataCollector/StateDataCollector.php \Drupal\webprofiler\DataCollector\StateDataCollector::getStateKeysCount()
- 4.x webprofiler/src/DataCollector/StateDataCollector.php \Drupal\webprofiler\DataCollector\StateDataCollector::getStateKeysCount()
Twig callback to show all requested state keys.
1 call to StateDataCollector::getStateKeysCount()
- StateDataCollector::getPanelSummary in webprofiler/
src/ DataCollector/ StateDataCollector.php - Returns the string used in vertical tab summary.
File
- webprofiler/
src/ DataCollector/ StateDataCollector.php, line 34
Class
- StateDataCollector
- Provides a data collector to get all requested state values.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getStateKeysCount() {
return count($this->data['state_get']);
}