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小节:

评论 (写第一个评论)