Issue #2417809 by YesCT: link and shortcut have baseFieldDefinition settings that do not do anything: default_value max_length

8.0.x
webchick 2015-01-31 10:06:02 -08:00
parent ce199a18ff
commit ffdeb4b435
2 changed files with 0 additions and 4 deletions

View File

@ -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,
))

View File

@ -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,
))