--- a/ds/ds.module +++ b/ds/ds.module @@ -274,6 +274,7 @@ function ds_entity_view_alter(&$build, EntityInterface $entity, EntityDisplayInt function template_preprocess_ds_entity_view(&$variables) { $build = $variables['content']; $configuration = $build['#ds_configuration']; + if(empty($configuration)) return; // Process the render array so we can reuse it. // Don't add/override the cache key if there aren't any.