Issue #2417809 by YesCT: link and shortcut have baseFieldDefinition settings that do not do anything: default_value max_length
parent
ce199a18ff
commit
ffdeb4b435
|
@ -286,8 +286,6 @@ class MenuLinkContent extends ContentEntityBase implements MenuLinkContentInterf
|
|||
->setDescription(t('The location this menu link points to.'))
|
||||
->setRequired(TRUE)
|
||||
->setSettings(array(
|
||||
'default_value' => '',
|
||||
'max_length' => 560,
|
||||
'link_type' => LinkItemInterface::LINK_GENERIC,
|
||||
'title' => DRUPAL_DISABLED,
|
||||
))
|
||||
|
|
|
@ -151,8 +151,6 @@ class Shortcut extends ContentEntityBase implements ShortcutInterface {
|
|||
->setDescription(t('The location this shortcut points to.'))
|
||||
->setRequired(TRUE)
|
||||
->setSettings(array(
|
||||
'default_value' => '',
|
||||
'max_length' => 560,
|
||||
'link_type' => LinkItemInterface::LINK_INTERNAL,
|
||||
'title' => DRUPAL_DISABLED,
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue