Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a36a116d
Commit
a36a116d
authored
Jun 27, 2014
by
webchick
Browse files
Issue
#2293749
by joshi.rohit100: Fixed Use ->url() in Forum module in overview form.
parent
19475dd4
Changes
1
Show whitespace changes
Inline
Side-by-side
core/modules/forum/src/Form/Overview.php
View file @
a36a116d
...
@@ -100,8 +100,8 @@ public function buildForm(array $form, array &$form_state) {
...
@@ -100,8 +100,8 @@ public function buildForm(array $form, array &$form_state) {
// Use the existing taxonomy overview submit handler.
// Use the existing taxonomy overview submit handler.
$form
[
'#submit'
]
=
array
(
array
(
$this
,
'submitForm'
));
$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
(
$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'
),
'@container'
=>
$this
->
url
(
'
forum
.
add
_
container'
),
'@forum'
=>
$this
->
url
Generator
()
->
generateFromPath
(
'admin/structure/
forum
/
add
/
forum'
)
'@forum'
=>
$this
->
url
(
'
forum
.
add
_
forum'
)
));
));
return
$form
;
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