Same name and namespace in other branches
  1. 8.9.x core/modules/comment/comment.services.yml \comment.statistics
  2. 9 core/modules/comment/comment.services.yml \comment.statistics

Class

Drupal\comment\CommentStatistics

Tags

  • backend_overridable
9 string references to comment.statistics
Comment::postDelete in core/modules/comment/src/Entity/Comment.php
Acts on deleted entities before the delete hook is invoked.
Comment::postSave in core/modules/comment/src/Entity/Comment.php
Acts on a saved entity before the insert or update hook is invoked.
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Tests the lock behavior.
comment_cron in core/modules/comment/comment.module
Implements hook_cron().
comment_entity_insert in core/modules/comment/comment.module
Implements hook_entity_insert().

... See full list

File

core/modules/comment/comment.services.yml
core/modules/comment/comment.services.yml

View source
  1. autowire: true
  2. class: Drupal\comment\CommentStatistics
  3. arguments:
  4. - '@database'
  5. - '@current_user'
  6. - '@entity_type.manager'
  7. - '@state'
  8. - '@datetime.time'
  9. - '@database.replica'
  10. tags:
  11. - { name: backend_overridable }