Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
virtual_events
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
virtual_events
Merge requests
!3
Issue
#3338858
: Drupal Coding Standards Issues | phpcs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3338858
: Drupal Coding Standards Issues | phpcs
issue/virtual_events-3338858:3338858-drupal-coding-standards
into
1.0.x
Overview
0
Commits
6
Pipelines
0
Changes
17
Open
jay jangid
requested to merge
issue/virtual_events-3338858:3338858-drupal-coding-standards
into
1.0.x
2 years ago
Overview
0
Commits
6
Pipelines
0
Changes
17
Expand
0
0
Merge request reports
Compare
1.0.x
version 5
be209dec
1 year ago
version 4
6c431b00
1 year ago
version 3
c854d3fc
1 year ago
version 2
3779e58a
1 year ago
version 1
259be93e
2 years ago
1.0.x (base)
and
latest version
latest version
2a4047b6
6 commits,
1 year ago
version 5
be209dec
5 commits,
1 year ago
version 4
6c431b00
4 commits,
1 year ago
version 3
c854d3fc
3 commits,
1 year ago
version 2
3779e58a
2 commits,
1 year ago
version 1
259be93e
1 commit,
2 years ago
17 files
+
213
−
78
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
src/Controller/VirtualEventsEventEndedController.php
+
3
−
3
Options
@@ -2,8 +2,8 @@
namespace
Drupal\virtual_events\Controller
;
use
Drupal\Core\Controller\ControllerBase
;
use
Drupal\Component\Utility\UrlHelper
;
use
Drupal\Core\Controller\ControllerBase
;
use
Symfony\Component\HttpFoundation\Request
;
/**
@@ -22,12 +22,12 @@ class VirtualEventsEventEndedController extends ControllerBase {
*/
public
function
reload
(
Request
$request
)
{
$url
=
$request
->
query
->
get
(
'url'
);
if
(
$url
&&
!
UrlHelper
::
isValid
(
$url
,
TRUE
)){
if
(
$url
&&
!
UrlHelper
::
isValid
(
$url
,
TRUE
))
{
$url
=
""
;
}
return
[
'#theme'
=>
'virtual_events_event_ended'
,
'#redirect_to'
=>
$url
'#redirect_to'
=>
$url
,
];
}
Loading