hi guys,

i want to explore the ContentEntityType. but when i finish to it. i have some error . the mapping of error is :
Doctrine\Common\Annotations\AnnotationException: [Syntax Error] Expected PlainValue, got ''' at position 66 in class Drupal\mymodule\Entity\Message. in Doctrine\Common\Annotations\AnnotationException::syntaxError() (line 42 of vendor\doctrine\annotations\lib\Doctrine\Common\Annotations\AnnotationException.php).

when i go to look the line 66 in entity class Message , i have this:

'weight' => -5,

in this instruction :

->setDisplayOptions('view',array(
    'label'=>'hidden',
    'type' =>'text_default',
    'weight' => -5,

    ))

please help me . i needs it for continuous