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