11.3 实体处理器

龹龵龱(Handlers)龜龙龖龓龑龐龎龋龇龆龃齿

龑龐龹龵龱齼齺齷齴entity_type.manager service齡齞齚齿

Drupal8龎龑龐龹龵龱齏齎齌齉

1齃齂鼿(Storage)

齂鼿龹龵龱龑鼶鼵EntityStorageInterface鼫鼩,EntityStorageInterface鼦鼥ContentEntityStorageBase鼚鼙鼖鼓鼚鼒鼐鼌鼵鼊鼇龎CRUD鼂鼁齿

2齃齞齚(Access)

齞齚龹龵龱龑鼶鼵EntityAccessControlHandlerInterface鼫鼩鼙黷黴黲龜EntityAccessControlHandler鼚齿

3齃黫龵黩黧(List Builder)

黩黧龑鼶鼵EntityListBuilderInterface鼫鼩鼙黷黴黲龜EntityListBuilder鼚齿

4齃點黛(View Builder)

View Builder龑鼶鼵EntityViewBuilderInterface鼫鼩鼙黷黴黲龜EntityViewBuilder鼚齿

5齃黧黒(Form)

黧黒龹龵龱龑鼶鼵EntityFormInterface鼫鼩齿黊黉EntityForm鼚黅黁龑鼶鼵鼖鼓鼫鼩鼙麽齼齺麻鼫麸麶鼚麲麮麬麩鼙齺龑鼶麧add齃edit麦delete麣龆龃齿

本书共79小节:

评论 (写第一个评论)