为了涵盖站点管理员可能需要的所有类型的数据,Drupal的字段系统允许用户选择基本的字段类型,并提供了一个API,让模块能够定义新的字段类型。
To cover all kinds of data that a site administrator might need, Drupal's field system gives users a selection of basic field types and provides an API so that modules can define new field types.
我首先定义了视图模型,这让我能够表示一个角色中的成员,并能够从用户那里接收一组新成员的指令。
I started by defining view models that will let me represent the membership of a role and receive a new set of membership instructions from the user.
应用推荐