diff --git a/core/modules/statistics/statistics.views.inc b/core/modules/statistics/statistics.views.inc index b4ec90d0d9..de5f06c5f8 100644 --- a/core/modules/statistics/statistics.views.inc +++ b/core/modules/statistics/statistics.views.inc @@ -12,7 +12,7 @@ function statistics_views_data() { $data = []; $entity_type_manager = \Drupal::entityTypeManager(); $entity_types = \Drupal::configFactory()->get('statistics.settings')->get('entity_type_ids'); - if (!emtpty($entity_types)) { + if (!empty($entity_types)) { foreach (array_filter($entity_types) as $entity_type_id) { if ($entity_type_manager->hasHandler($entity_type_id, 'views_data')) { $table = $entity_type_id . '_counter';