projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
search
/
tests
/
modules
/
search_extra_type
/
src
/
Plugin
/
Search
/
SearchExtraTypeSearch.php
diff --git
a/web/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php
b/web/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php
index 899986ae60a5ee04cc1f7773017cf3973c67a751..95f1d52ca403ac917c3e52ff8bc75f681ffc084d 100644
(file)
--- a/
web/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php
+++ b/
web/core/modules/search/tests/modules/search_extra_type/src/Plugin/Search/SearchExtraTypeSearch.php
@@
-2,7
+2,7
@@
namespace Drupal\search_extra_type\Plugin\Search;
namespace Drupal\search_extra_type\Plugin\Search;
-use Drupal\Component\
Utility\Saf
eMarkup;
+use Drupal\Component\
Render\Formattabl
eMarkup;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Routing\UrlGeneratorTrait;
use Drupal\Core\Url;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Routing\UrlGeneratorTrait;
use Drupal\Core\Url;
@@
-59,7
+59,7
@@
class SearchExtraTypeSearch extends ConfigurableSearchPluginBase {
'link' => Url::fromRoute('test_page_test.test_page')->toString(),
'type' => 'Dummy result type',
'title' => 'Dummy title',
'link' => Url::fromRoute('test_page_test.test_page')->toString(),
'type' => 'Dummy result type',
'title' => 'Dummy title',
- 'snippet' =>
SafeMarkup::format
("Dummy search snippet to display. Keywords: @keywords\n\nConditions: @search_parameters", ['@keywords' => $this->keywords, '@search_parameters' => print_r($this->searchParameters, TRUE)]),
+ 'snippet' =>
new FormattableMarkup
("Dummy search snippet to display. Keywords: @keywords\n\nConditions: @search_parameters", ['@keywords' => $this->keywords, '@search_parameters' => print_r($this->searchParameters, TRUE)]),
],
];
}
],
];
}