Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
f67a728e
Commit
f67a728e
authored
2 years ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5500: coding standards
parent
e62cc236
Loading
Loading
1 merge request
!70
Feature/istwcms 5500 adding rss feeds to listing pages
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_fdsu_theme_resp.theme
+1
-4
1 addition, 4 deletions
uw_fdsu_theme_resp.theme
with
1 addition
and
4 deletions
uw_fdsu_theme_resp.theme
+
1
−
4
View file @
f67a728e
...
...
@@ -66,9 +66,6 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
case
'view.uw_view_events.event_page'
:
case
'view.uw_view_news_items.news_page'
:
// Get the parameters from the URL.
$parameters
=
\Drupal
::
request
()
->
query
->
all
();
// Get the alternate link based on the route.
switch
(
$route_name
)
{
...
...
@@ -143,7 +140,7 @@ function _uw_fdsu_theme_resp_get_alternate_link(
'href'
=>
$url
->
toString
(),
'title'
=>
$title
,
'type'
=>
'application/rss+xml'
,
]
]
,
];
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment