Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / superfish / superfish.install
index dcdfb92c0b93a5b309450d6aa19573e6326c53a7..4e85260f311413b595e06205d59d5f8503b202b9 100644 (file)
@@ -15,6 +15,7 @@ function superfish_install() {
   else {
     drupal_set_message(t('Superfish library is missing. Please refer to the <a href="@documentation">plugin documentation</a> for how you can fix this issue; Once done, go to the <a href="@block">Block layout</a> page and use any of the "Place block" buttons to create a Superfish block.', ['@documentation' => 'http://drupal.org/node/1125896', '@block' => 'structure/block']), 'warning');
   }
+       drupal_set_message(t('If there was no Superfish block in the "Place block" form, go to the <a href="@performance">Performance</a> page and clear the cache once.', ['@performance' => 'admin/config/development/performance']));
 }
 
 /**
@@ -26,7 +27,7 @@ function superfish_requirements($phase) {
     $requirements['superfish']['title'] = t('Superfish library');
 
     if (superfish_library_check()) {
-      $requirements['superfish']['value'] = t('Installed at @location', ['@location' => superfish_library_path()]);
+      $requirements['superfish']['value'] = t('Installed; at @location', ['@location' => superfish_library_path()]);
       $requirements['superfish']['severity'] = REQUIREMENT_OK;
     }
     else {