} /**
* {@inheritdoc}
*/
public static function baseFieldDefinitions(EntityTypeInterface
$entity_type) { /** @var \Drupal\Core\Field\BaseFieldDefinition[] $fields */
$fields = parent::
baseFieldDefinitions($entity_type);
// Add the publishing status field.
$fields +=
static::
publishedBaseFieldDefinitions($entity_type);
$fields['id'
]->
setLabel(t('Entity ID'
)) ->
setDescription(t('The entity ID for this menu link content entity.'
));
$fields['uuid'
]->
setDescription(t('The content menu link UUID.'
));
$fields['langcode'
]->
setDescription(t('The menu link language code.'
));
$fields['bundle'
] ->
setDescription(t('The content menu link bundle.'
)) ->
setSetting('max_length', EntityTypeInterface::BUNDLE_MAX_LENGTH
)