I'm developing a module where one of the elements is a multiple select box. The data for this box is a complex set of a couple of hundred taxonomy terms.
In order to display these terms in a custom form, in the buildForm function I add these terms to a render array. I then add css classes to each of the terms, dependent on their parents, if they have children, and on specific term fields. This processing takes a couple of seconds each time the form is opened.
Hello there! I am using postman to try to create content with file attached. I have read that first you have to upload the file and then create the node referencing the fid.
When I do that, the REST POST method return:
<message>Unprocessable Entity: validation failed.
field_image.0.target_id: This entity (file: fid) can not be referenced.
Hi, How can I disable the submission "Edit" Buttom (under Operations [Edit, View,Duplicate,Resend,Delete]) for specific user Role. The user can't duplicate the submission , but he still can "Edit". I want when the user click on the "Edit" Button , a message shown like (You are not authorized to access this page.) like in the "Duplicate phase".
and if can i do that programmatically ?
Hi, i am trying to send a mail programmatically. While the mail should be sent, i get the following error from SMTP authentication module (which is setup correctly):
Error sending e-mail from example@gmail.com to example@gmail.com: Message body empty