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

评论 (写第一个评论)