0

I want to customize the title label of my taxonomy, the name field. By default, its value is "Name".

I know I can use the mymodule_form_alter hook and do as followed:

$form['title']['widget'][0]['#title'] = t('My Custom Name'); 

But I want to do it in the UI and export the configurations like any other fields. Also, I want to be able to translate my custom name.

1 Answer 1

2

Use the Base Field Override UI, go to "Structures" > "Taxonomies" > "Manage fields" and go to the new "Base Field Override" tab. You can override the "Name" field here and translate it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.