Quite handy to have some logging when new beans are created or existing beans are updated. Attached patch adds this, in a very similar vain to the way node.module does it. It adds a watchdog notice and a drupal_set_message. It also adds a new public method to the bean core to enable to yo retrieve the human readable name of the bean's type. This was seemed to be the nicest way of getting at that information, in a way that is reusable.

Comments

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new1.77 KB

and the patch...

mrfelton’s picture

Status: Needs review » Fixed

This was a pretty straightforward patch, so I went ahead and committed it.
http://drupalcode.org/project/bean.git/commitdiff/83130af?hp=f83f7079bae...

Status: Fixed » Closed (fixed)

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