|
|
|
@ -149,10 +149,11 @@ function media_attribution_preprocess_entity_embed_container(&$variables) {
|
|
|
|
|
'#prefix' => ' ', |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
$children = ['#markup' => $variables['children']]; |
|
|
|
|
$variables['children'] = [ |
|
|
|
|
'first' => [ |
|
|
|
|
'#type' => 'markup', |
|
|
|
|
'#markup' => \Drupal::service('renderer')->render($variables['children']) |
|
|
|
|
'#markup' => \Drupal::service('renderer')->render($children) |
|
|
|
|
], |
|
|
|
|
$attribution_text |
|
|
|
|
]; |
|
|
|
|