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
303
Merge Requests
303
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
bccc4328
Commit
bccc4328
authored
Mar 12, 2014
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2214063
by benelori: 'Add vocabulary' page doesn't display correct page title.
parent
11058688
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php
...taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php
+6
-1
No files found.
core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php
View file @
bccc4328
...
...
@@ -20,7 +20,12 @@ class VocabularyFormController extends EntityFormController {
*/
public
function
form
(
array
$form
,
array
&
$form_state
)
{
$vocabulary
=
$this
->
entity
;
$form
[
'#title'
]
=
$this
->
t
(
'Edit vocabulary'
);
if
(
$vocabulary
->
isNew
())
{
$form
[
'#title'
]
=
$this
->
t
(
'Add vocabulary'
);
}
else
{
$form
[
'#title'
]
=
$this
->
t
(
'Edit vocabulary'
);
}
$form
[
'name'
]
=
array
(
'#type'
=>
'textfield'
,
...
...
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