public function NodeViewCountRecordsManagerInterface::isRecordableForNodeType in Node view count 8
Checks whether node of given node type should be counted in statistics.
Parameters
\Drupal\node\NodeInterface $node: Node object.
Return value
bool TRUE if node of given node type should be counted in statistics.
1 method overrides NodeViewCountRecordsManagerInterface::isRecordableForNodeType()
- NodeViewCountRecordsManager::isRecordableForNodeType in src/
NodeViewCountRecordsManager.php - Checks whether node of given node type should be counted in statistics.
File
- src/
NodeViewCountRecordsManagerInterface.php, line 80
Class
- NodeViewCountRecordsManagerInterface
- Provides an interface for interfering with nodeviewcount records.
Namespace
Drupal\nodeviewcountCode
public function isRecordableForNodeType(NodeInterface $node);