开发者

set CCK field permissions per PHP in Drupal 6

I want to change the field level permissions from a CCK field by PHP in my custom module. Can You give me a hin开发者_如何学Got?


Implement hook_field_access().

See http://drupalcode.org/project/cck.git/blob/refs/heads/6.x-3.x:/modules/content_permissions/content_permissions.module for an example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜