Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
224
Merge Requests
224
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
a36a116d
Commit
a36a116d
authored
Jun 27, 2014
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2293749
by joshi.rohit100: Fixed Use ->url() in Forum module in overview form.
parent
19475dd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/modules/forum/src/Form/Overview.php
core/modules/forum/src/Form/Overview.php
+2
-2
No files found.
core/modules/forum/src/Form/Overview.php
View file @
a36a116d
...
...
@@ -100,8 +100,8 @@ public function buildForm(array $form, array &$form_state) {
// Use the existing taxonomy overview submit handler.
$form
[
'#submit'
]
=
array
(
array
(
$this
,
'submitForm'
));
$form
[
'terms'
][
'#empty'
]
=
$this
->
t
(
'No containers or forums available. <a href="@container">Add container</a> or <a href="@forum">Add forum</a>.'
,
array
(
'@container'
=>
$this
->
url
Generator
()
->
generateFromPath
(
'admin/structure/forum/add/
container'
),
'@forum'
=>
$this
->
url
Generator
()
->
generateFromPath
(
'admin/structure/forum/add/
forum'
)
'@container'
=>
$this
->
url
(
'forum.add_
container'
),
'@forum'
=>
$this
->
url
(
'forum.add_
forum'
)
));
return
$form
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment