Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
创建分类术语时,有一个名为“术语描述文本区域”的自定义描述框。有没有办法删除它?
我能想到的最快方法是更改自定义模块中的表单(刚刚测试过它并且有效):
function mymodule_form_taxonomy_form_term_alter(&$form, &$form_state, $form_id) { $form['description']['#access'] = FALSE; }