开发者

Disabling a cck field with form alter in DRUPAL

I know that we can't modify a cck fied in hook alter like a standard field o开发者_运维技巧f a standard drupal form.


You can alter it, just like any other form. You must just make sure your hook is ran after the CCK, only then do you have the full CCK-ed form available.

You do that by setting weights in the system table.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜