How to change the position of status message for an embedded node?
I have an embedded node that uses JavaScript.
I have added a message.
const messages = new Drupal.Message(); messages.add( Drupal.t('Please select option'), { type: 'error' } );
The message is shown at the top of the page. How can i move the message to the top of the embedded node instead?
(embedded node is at the bottom of the original node)
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.