Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

View file

@ -32,12 +32,12 @@ class ContextualController implements ContainerAwareInterface {
throw new BadRequestHttpException(t('No contextual ids specified.'));
}
$rendered = array();
$rendered = [];
foreach ($ids as $id) {
$element = array(
$element = [
'#type' => 'contextual_links',
'#contextual_links' => _contextual_id_to_links($id),
);
];
$rendered[$id] = $this->container->get('renderer')->renderRoot($element);
}