0

I should change the value of a field before it is rendered. I tried with [NAME_MODULE]_node_view but it is not invoked when I edit the node.

Thank you so much.

0

I alter my forms with the following:

function mymodule_form_test_edit_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  // code here...
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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