diff --git a/core/modules/quickedit/quickedit.module b/core/modules/quickedit/quickedit.module index 7ed6f92..8386b85 100644 --- a/core/modules/quickedit/quickedit.module +++ b/core/modules/quickedit/quickedit.module @@ -157,5 +157,8 @@ function quickedit_preprocess_field(&$variables) { */ function quickedit_entity_view_alter(&$build, EntityInterface $entity, EntityViewDisplayInterface $display) { $build['#attributes']['data-quickedit-entity-id'] = $entity->getEntityTypeId() . '/' . $entity->id(); + if (!isset($build['#theme_wrappers'])) { + $build['#theme_wrappers'] = array('container'); + } }