added aside (related dates for prod) to edlp_ajax controller

This commit is contained in:
2018-04-15 17:11:54 +02:00
parent e27d1f1e5a
commit 4967111a0e
5 changed files with 117 additions and 14 deletions
@@ -9,4 +9,5 @@ function template_preprocess_edlp_ajax(&$vars){
*/
$view_builder = \Drupal::entityTypeManager()->getViewBuilder($vars['entity_type']);
$vars['content'] = $view_builder->view($vars['entity'], $vars['view_mode']);
}