You are here

service statistics.storage.node in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/statistics/statistics.services.yml \statistics.storage.node
  2. 9 core/modules/statistics/statistics.services.yml \statistics.storage.node

Class

Drupal\statistics\NodeStatisticsDatabaseStorage

Tags

  • backend_overridable
9 string references to statistics.storage.node
MigrateNodeCounterTest::assertNodeCounter in core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php
Asserts various aspects of a node counter.
MigrateNodeCounterTest::assertNodeCounter in core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php
Asserts various aspects of a node counter.
statistics.php in core/modules/statistics/statistics.php
Handles counts of node views via AJAX with minimal bootstrap.
StatisticsPopularBlock::create in core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
StatisticsTokenReplaceTest::testStatisticsTokenReplacement in core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
Creates a node, then tests the statistics tokens generated from it.

... See full list

File

core/modules/statistics/statistics.services.yml
core/modules/statistics/statistics.services.yml

View source
  1. class: Drupal\statistics\NodeStatisticsDatabaseStorage
  2. arguments:
  3. - '@database'
  4. - '@state'
  5. - '@request_stack'
  6. tags:
  7. - { name: backend_overridable }