Core and composer updates
This commit is contained in:
parent
a82634bb98
commit
62cac30480
1118 changed files with 21770 additions and 6306 deletions
|
@ -858,12 +858,13 @@ function template_preprocess_views_view_rss(&$variables) {
|
|||
// Figure out which display which has a path we're using for this feed. If
|
||||
// there isn't one, use the global $base_url
|
||||
$link_display_id = $view->display_handler->getLinkDisplay();
|
||||
if ($link_display_id && $display = $view->displayHandlers->get($link_display_id)) {
|
||||
/** @var \Drupal\views\Plugin\views\display\DisplayPluginBase $display */
|
||||
if ($link_display_id && ($display = $view->displayHandlers->get($link_display_id)) && $display->isEnabled()) {
|
||||
$url = $view->getUrl(NULL, $link_display_id);
|
||||
}
|
||||
|
||||
/** @var \Drupal\Core\Url $url */
|
||||
if ($url) {
|
||||
if (!empty($url)) {
|
||||
$url_options = ['absolute' => TRUE];
|
||||
if (!empty($view->exposed_raw_input)) {
|
||||
$url_options['query'] = $view->exposed_raw_input;
|
||||
|
|
Reference in a new issue