--- /dev/null
+<?php
+
+namespace Drupal\{{ machine_name }};
+
+use Drupal\Core\Entity\EntityInterface;
+use Drupal\Core\Entity\EntityViewBuilder;
+
+/**
+ * Provides a view controller for {{ entity_type_label|article|lower }} entity type.
+ */
+class {{ class_prefix }}ViewBuilder extends EntityViewBuilder {
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function getBuildDefaults(EntityInterface $entity, $view_mode) {
+ $build = parent::getBuildDefaults($entity, $view_mode);
+ // The {{ entity_type_label|lower }} has no entity template itself.
+ unset($build['#theme']);
+ return $build;
+ }
+
+}