You are here

function hook_eck_entity_save_message_alter in Entity Construction Kit (ECK) 7.2

Set custom title for entity save message.

Parameters

string $msg: the string to be passed on to drupal_set_message() for entity save.

array $args: array of arguments.

array $context: context array.

1 invocation of hook_eck_entity_save_message_alter()
eck__entity__form_submit in ./eck.entity.inc
Submit function for entity form.

File

./eck.api.php, line 129
ECK's API documentation.

Code

function hook_eck_entity_save_message_alter(&$msg, $args, $context) {
  $msg = 'set this variable to change save message.';
}