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
98c5bd30
Commit
98c5bd30
authored
Jan 27, 2017
by
catch
Browse files
Issue
#2847035
by jvsouto, yoroy: Remove useless descriptions on taxonomy term create/edit screen
parent
a7ab06c3
Changes
1
Show whitespace changes
Inline
Side-by-side
core/modules/taxonomy/src/Entity/Term.php
View file @
98c5bd30
...
...
@@ -116,7 +116,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields
[
'name'
]
=
BaseFieldDefinition
::
create
(
'string'
)
->
setLabel
(
t
(
'Name'
))
->
setDescription
(
t
(
'The term name.'
))
->
setTranslatable
(
TRUE
)
->
setRequired
(
TRUE
)
->
setSetting
(
'max_length'
,
255
)
...
...
@@ -133,7 +132,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields
[
'description'
]
=
BaseFieldDefinition
::
create
(
'text_long'
)
->
setLabel
(
t
(
'Description'
))
->
setDescription
(
t
(
'A description of the term.'
))
->
setTranslatable
(
TRUE
)
->
setDisplayOptions
(
'view'
,
array
(
'label'
=>
'hidden'
,
...
...
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