开发者

Disabling a cck field with form alter in DRUPAL

开发者 https://www.devze.com 2023-02-06 03:55 出处:网络
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 ra

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

精彩评论

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