function PerformanceData::getCacheTagChecksumCount

Same name and namespace in other branches
  1. 10 core/tests/Drupal/Tests/PerformanceData.php \Drupal\Tests\PerformanceData::getCacheTagChecksumCount()

Gets the cache tag checksum count.

Return value

int The number of cache tag checksum checks recorded.

Deprecated

in drupal:11.2.0 and is removed from drupal:12.0.0. There is no direct replacement.

See also

https://www.drupal.org/node/3511149

File

core/tests/Drupal/Tests/PerformanceData.php, line 340

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getCacheTagChecksumCount() : int {
  @trigger_error(__METHOD__ . 'is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no direct replacement. See https://www.drupal.org/node/3511149', E_DEPRECATED);
  return $this->cacheTagChecksumCount;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.