comment_install()
Implements hook_install().
File
- core/modules/comment/comment.install, line 30
- Install, update and uninstall functions for the Comment module.
Code
function comment_install() { // By default, maintain entity statistics for comments. // @see \Drupal\comment\CommentStatisticsInterface \Drupal::state()->set('comment.maintain_entity_statistics', TRUE); }
Please login to continue.