diff --git a/core/modules/system/src/Plugin/Block/SystemPageActionsBlock.php b/core/modules/system/src/Plugin/Block/SystemPageActionsBlock.php index c931ec6..3d5a9e0 100644 --- a/core/modules/system/src/Plugin/Block/SystemPageActionsBlock.php +++ b/core/modules/system/src/Plugin/Block/SystemPageActionsBlock.php @@ -99,7 +99,7 @@ public function build() { $links = menu_local_tasks(); $request = $this->requestStack->getCurrentRequest(); $route_name = $request->attributes->get(RouteObjectInterface::ROUTE_NAME); - $action_links = $this->localActionManager->getActionsForRoute($route_name) $links['actions']; + $action_links = $this->localActionManager->getActionsForRoute($route_name) + $links['actions']; if (empty($action_links)) { return FALSE; } diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 88728fc..a08480c 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -788,14 +788,14 @@ function system_preprocess_block(&$variables) { case 'system_page_actions_block': $variables['action_links'] = ''; - if($variables['content']['action_links']['#markup']) { + if ($variables['content']['action_links']['#markup']) { $variables['action_links'] = $variables['content']['action_links']['#markup']; } break; case 'system_page_tabs_block': $variables['tabs'] = ''; - if($variables['content']['tabs']['#markup']) { + if ($variables['content']['tabs']['#markup']) { $variables['tabs'] = $variables['content']['tabs']['#markup']; } break;