@@ -60,7 +60,7 @@ |
||
60 | 60 | if ($node = $event->getRequest()->get('node')) { |
61 | 61 | if (\Drupal::currentUser()->hasPermission('view latest version')) { |
62 | 62 | $theme = $this->themeManager->getActiveTheme()->getName(); |
63 | - $tag = 'config:block.block.' . $theme . '_local_actions'; |
|
63 | + $tag = 'config:block.block.'.$theme.'_local_actions'; |
|
64 | 64 | $this->cacheTagsInvalidator->invalidateTags([$tag]); |
65 | 65 | } |
66 | 66 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * {@inheritdoc} |
19 | 19 | */ |
20 | 20 | public static function getSubscribedEvents() { |
21 | - $events[RoutingEvents::ALTER] = ['onAlterRoutes',-9999]; // negative Values means "late" |
|
21 | + $events[RoutingEvents::ALTER] = ['onAlterRoutes', -9999]; // negative Values means "late" |
|
22 | 22 | return $events; |
23 | 23 | } |
24 | 24 |
@@ -132,12 +132,12 @@ |
||
132 | 132 | if ($transition = ModerationStateTransition::load($id)) { |
133 | 133 | $styles = type_style_get_styles($transition); |
134 | 134 | if (!empty($styles)) { |
135 | - $build['actions']['quick_draft_form'][$id]['#attributes']['style'] = 'background-color: ' . $styles['color']; |
|
135 | + $build['actions']['quick_draft_form'][$id]['#attributes']['style'] = 'background-color: '.$styles['color']; |
|
136 | 136 | $build['actions']['quick_draft_form'][$id] = [ |
137 | 137 | '#type' => 'container', |
138 | 138 | $build['actions']['quick_draft_form'][$id], |
139 | 139 | [ |
140 | - '#markup' => '<i class="material-icons">' . $styles['icon'] . '</i>' |
|
140 | + '#markup' => '<i class="material-icons">'.$styles['icon'].'</i>' |
|
141 | 141 | ], |
142 | 142 | '#attributes' => [ |
143 | 143 | 'class' => ['moderation-sidebar-button-wrapper'], |