Commit e821dc58 authored by catch's avatar catch
Browse files

Issue #3160307 by Hardik_Patel_12, jungle, Kristen Pol, larowlan, catch:...

Issue #3160307 by Hardik_Patel_12, jungle, Kristen Pol, larowlan, catch: ThemeManagerInterface getActiveTheme parameters do not match ThemeManager
parent d4726b18
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@

namespace Drupal\Core\Theme;

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Provides a high level access to the active theme and methods to use it.
 *
@@ -29,9 +31,12 @@ public function render($hook, array $variables);
  /**
   * Returns the active theme object.
   *
   * @param \Drupal\Core\Routing\RouteMatchInterface|null $route_match
   *   The route match.
   *
   * @return \Drupal\Core\Theme\ActiveTheme
   */
  public function getActiveTheme();
  public function getActiveTheme(RouteMatchInterface $route_match = NULL);

  /**
   * Determines whether there is an active theme.