Loading core/misc/message.js +4 −4 Original line number Diff line number Diff line Loading @@ -139,16 +139,16 @@ } /** * Removes messages from the message area. * Removes a message element from the message area. * * @name Drupal.Message~messageDefinition.remove * * @param {string} id * Index of the message to remove, as returned by * The unique identifier of the message to remove, as returned by * {@link Drupal.Message~messageDefinition.add}. * * @return {number} * Number of removed messages. * @return {Element} * Returns the removed message element. */ remove(id) { return this.messageWrapper.removeChild(this.select(id)); Loading Loading
core/misc/message.js +4 −4 Original line number Diff line number Diff line Loading @@ -139,16 +139,16 @@ } /** * Removes messages from the message area. * Removes a message element from the message area. * * @name Drupal.Message~messageDefinition.remove * * @param {string} id * Index of the message to remove, as returned by * The unique identifier of the message to remove, as returned by * {@link Drupal.Message~messageDefinition.add}. * * @return {number} * Number of removed messages. * @return {Element} * Returns the removed message element. */ remove(id) { return this.messageWrapper.removeChild(this.select(id)); Loading