我有一个实体(taht扩展Drupal \ Core \ Entity \ ContentEntityBase)。 我尝试在blob或文本mysql字段上映射此实体的某些属性。
在文档中,我看不到必须放入BaseFieldDefinition :: create(VALUE ???)中的任何值。
也许这是不可能的?
I Have an entity (taht extends Drupal\Core\Entity\ContentEntityBase). I try to map some property of this entity on blob or text mysql field.
In the documentation, I don't see wichh value I have to put in BaseFieldDefinition::create(VALUE ???).
Maybe it's not possible ??
最满意答案
核心字段类型: 布尔 变 评论 创建 约会时间 十进制 电子邮件 ENTITY_REFERENCE 文件 浮动 图片 整数 语言 链接 list_float list_integer list_string 地图 密码 路径 串 string_long 电话 文本 text_long text_with_summary 时间戳 URI UUID
记录在这里
Core field types: boolean changed comment created datetime decimal email entity_reference file float image integer language link list_float list_integer list_string map password path string string_long telephone text text_long text_with_summary timestamp uri uuid
Documented HERE
更多推荐
发布评论