Problem/Motivation
As a relic of Drupal <6 the Statistics module only counts node views. Now we have many different entities we should be counting those too.
Proposed resolution
- Replace the node_counter table with statistics_counter
- Add column for entity type
- Replace node id column with entity id
- Replace statistics_node_view with statistics_entity_view
- Replace statistics_node_predelete with statistics_entity_predelete
Remaining tasks
All of them
User interface changes
none
API changes
none
Data model changes
- Table name changes
- Column name changes