Commit 74637359 authored by Drew Webber's avatar Drew Webber Committed by Jakob P
Browse files

Issue #3200197 by mcdruid, grasmash, sillygwailo, japerry: Display notice to...

Issue #3200197 by mcdruid, grasmash, sillygwailo, japerry: Display notice to admins about D7 EOL, link to Acquia
parent 50e4e205
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -163,20 +163,20 @@ function acquia_agent_requirements($phase) {
        );
      }

      $msg = t('Drupal 7 will be end of life on November 28, 2022. Acquia offers <a href="@support_url" target = "blank">extended support</a>,
      included with your cloud subscription, until November 2025. You are also encouraged to look at @name <a href="@migrate_url" target = "blank">Migrate Accelerator</a> to help migrate to the latest major version of Drupal.',
      $msg = t('Drupal 7\'s provisional End of Life is November 1, 2023, although this may be extended. See <a href="@psa_url">PSA-2022-02-23</a> for details. Acquia offers <a href="@support_url" target = "blank">extended support</a>,
      included with your cloud subscription, until November 2025. You are also encouraged to evaluate Acquia\'s <a href="@migrate_url" target = "blank">Migrate Accelerator</a> to help migrate to the latest major version of Drupal.',
        array(
          '@support_url' => url("https://docs.acquia.com/support/guide/#acquia-drupal-7-extended-support-program"),
          '@migrate_url' => url("https://www.acquia.com/products/drupal-cloud/migrate"),
          '@name' => "Acquia's",
          '@psa_url' => url('https://www.drupal.org/psa-2022-02-23'),
          '@support_url' => url('https://docs.acquia.com/support/guide/#acquia-drupal-7-extended-support-program'),
          '@migrate_url' => url('https://www.acquia.com/products/drupal-cloud/migrate'),
      ));

      $requirements['acquia_agent_eol'] = [
      $requirements['acquia_agent_eol'] = array(
        'title' => t('Acquia Agent module'),
        'value' => t('The 7.x version is EOL!'),
        'value' => t('Drupal 7 End of Life'),
        'description' => $msg,
        'severity' => REQUIREMENT_WARNING,
      ];
        'severity' => REQUIREMENT_INFO,
      );
      break;

    case 'install':