Commit ef63ee4a authored by git's avatar git Committed by Rajab Natshah
Browse files

Issue #3290341 by Project Update Bot: Automated Drupal 10 compatibility fixes...

Issue #3290341 by Project Update Bot: Automated Drupal 10 compatibility fixes for Vartheme Claro admin theme on the 4.0.x branch
parent b8523b9e
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/src/FunctionalJavascript/VarthemeClaroTests.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ class VarthemeClaroTests extends WebDriverTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    $this->drupalLogin($this->rootUser);
+1 −1
Changes for vartheme_claro.theme: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ function vartheme_claro_preprocess_install_page(&$variables) {
    $profile_name = $install_state['parameters']['profile'];
  }

  $current_profile_path = drupal_get_path('profile', $profile_name);
  $current_profile_path = \Drupal::service('extension.list.profile')->getPath($profile_name);
  // Profile logo.
  if (file_exists($current_profile_path . '/images/' . $profile_name . '-logo.png')) {
    $variables['profile_logo'] = base_path() . $current_profile_path . '/images/' . $profile_name . '-logo.png';