I want to prohibit editing the field link to the taxonomy term if it is not empty. I try this, but I do not understand why the module is not working. Please tell me where I made a mistake
function field_acces_if_form_user_profile_form_alter(&$form, &$form_state, $form_id) {
I may be confusing myself here. I've read countless articles on putting the Drupal 8 site configuration into Git and using this to feed changes form development through test to live and this is my plan, however, I'm trying to go a little further but can't seem to find any useful documentation.
I'm creating a new CKEDITOR plugin and currently working on dialog features. I want to get the value of the selected item in the dropdown menu (ID choseLang) and retrive it in a variable 'selectLang' that can be used in commit function of the textfield (ID spanTitle).
But my piece of code to do so is not working. Any idea about how to solve it?