function 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\DataCollector

Code

public function getStateKeysCount() {
    return count($this->data['state_get']);
}