service statistics.storage.node in Drupal 10
Same name and namespace in other branches
- 8 core/modules/statistics/statistics.services.yml \statistics.storage.node
- 9 core/modules/statistics/statistics.services.yml \statistics.storage.node
Class
Drupal\statistics\NodeStatisticsDatabaseStorageTags
- 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.
File
- core/
modules/ statistics/ statistics.services.yml - core/modules/statistics/statistics.services.yml
View source
- class: Drupal\statistics\NodeStatisticsDatabaseStorage
- arguments:
- - '@database'
- - '@state'
- - '@request_stack'
- tags:
- - { name: backend_overridable }