Commit 0815b7e9 authored by catch's avatar catch
Browse files

Issue #3343847 by alexpott: The route system.batch_page.normal was changed to...

Issue #3343847 by alexpott: The route system.batch_page.normal was changed to system.batch_page.html but some code still uses it
parent 09b7d821
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ function node_help($route_name, RouteMatchInterface $route_match) {
  // Remind site administrators about the {node_access} table being flagged
  // for rebuild. We don't need to issue the message on the confirm form, or
  // while the rebuild is being processed.
  if ($route_name != 'node.configure_rebuild_confirm' && $route_name != 'system.batch_page.normal' && $route_name != 'help.page.node' && $route_name != 'help.main'
  if ($route_name != 'node.configure_rebuild_confirm' && $route_name != 'system.batch_page.html' && $route_name != 'help.page.node' && $route_name != 'help.main'
    && \Drupal::currentUser()->hasPermission('access administration pages') && node_access_needs_rebuild()) {
    if ($route_name == 'system.status') {
      $message = t('The content access permissions need to be rebuilt.');
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ public function batchPage(Request $request) {
  }

  /**
   * The _title_callback for the system.batch_page.normal route.
   * The _title_callback for the system.batch_page.html route.
   *
   * @return string
   *   The page title.