Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / search / src / Plugin / SearchPluginBase.php
index 7bf4f0f4e35bd61e89f9e83ecf2abd5174fa7c4a..7312df49fc17ec542a7a87c094f6addc0df86974 100644 (file)
@@ -146,16 +146,18 @@ abstract class SearchPluginBase extends PluginBase implements ContainerFactoryPl
   public function getHelp() {
     // This default search help is appropriate for plugins like NodeSearch
     // that use the SearchQuery class.
-    $help = ['list' => [
-      '#theme' => 'item_list',
-      '#items' => [
-        $this->t('Search looks for exact, case-insensitive keywords; keywords shorter than a minimum length are ignored.'),
-        $this->t('Use upper-case OR to get more results. Example: cat OR dog (content contains either "cat" or "dog").'),
-        $this->t('You can use upper-case AND to require all words, but this is the same as the default behavior. Example: cat AND dog (same as cat dog, content must contain both "cat" and "dog").'),
-        $this->t('Use quotes to search for a phrase. Example: "the cat eats mice".'),
-        $this->t('You can precede keywords by - to exclude them; you must still have at least one "positive" keyword. Example: cat -dog (content must contain cat and cannot contain dog).'),
+    $help = [
+      'list' => [
+        '#theme' => 'item_list',
+        '#items' => [
+          $this->t('Search looks for exact, case-insensitive keywords; keywords shorter than a minimum length are ignored.'),
+          $this->t('Use upper-case OR to get more results. Example: cat OR dog (content contains either "cat" or "dog").'),
+          $this->t('You can use upper-case AND to require all words, but this is the same as the default behavior. Example: cat AND dog (same as cat dog, content must contain both "cat" and "dog").'),
+          $this->t('Use quotes to search for a phrase. Example: "the cat eats mice".'),
+          $this->t('You can precede keywords by - to exclude them; you must still have at least one "positive" keyword. Example: cat -dog (content must contain cat and cannot contain dog).'),
+        ],
       ],
-    ]];
+    ];
 
     return $help;
   }