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