Comments

emattias’s picture

Status: Active » Needs review
StatusFileSize
new928 bytes

This patch adds a drupal_alter('eck__entity__form_submit_message') so that you can modify or remove the message all together.

zterry95’s picture

need this patch.

eric.napier’s picture

Status: Needs review » Reviewed & tested by the community
eric.napier’s picture

Status: Reviewed & tested by the community » Needs review
eric.napier’s picture

I believe this will be best as custom code and not a drupal_alter() addition to ECK. See the following blog post for a possible path to change drupal_set_message() without patching ECK: http://knackforge.com/blog/gurumoorthi/hide-and-override-drupal-status-m....

hnln’s picture

re #5 that's the method I'm using now, but not very comfortable with it as you don't have any context on the messages, so you might also remove messages that were set somewhere else.

eric.napier’s picture

The attached patch cleans up #1 a little and adds support also for changing the save message for bundles. Also updates api documentation re: 2 new hooks. Needs Review.

eric.napier’s picture

Assigned: Unassigned » eric.napier
eric.napier’s picture

Assigned: eric.napier » Unassigned

  • fmizzell committed 1d61f33 on 7.x-2.x authored by eric.napier
    Issue #2415703 by eric.napier, emattias: Entity save message is not...
fmizzell’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.