You are here

function nodeviewcount_hooks_test_nodeviewcount_insert in Node view count 8

Implements hook_nodeviewcount_insert().

File

tests/modules/nodeviewcount_hooks_test/nodeviewcount_hooks_test.module, line 13
Support module for nodeviewcount hooks testing.

Code

function nodeviewcount_hooks_test_nodeviewcount_insert(NodeInterface $node, $view_mode) {
  \Drupal::logger('nodeviewcount')
    ->notice($node
    ->getTitle());
}