Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Saved pattern msg includes the link to the pattern

  • Loading branch information...
commit 3f74c7c4b8dc925e570d021c749f660156cb3dfd 1 parent aa3b5aa
@shakty authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  includes/io.inc
View
3  includes/io.inc
@@ -438,7 +438,8 @@ function patterns_io_save_pattern($content = NULL, $name = NULL, $format = PATTE
}
patterns_db_save_pattern($pattern, $path, $name, $format);
- drupal_set_message(t('Pattern %name was saved in %path.', array('%name' => $name,
+ $link = l($name, 'admin/patterns/edit/' . $name);
+ drupal_set_message(t('Pattern !name was saved in %path.', array('!name' => $link,
'%path' => $path,
)));
Please sign in to comment.
Something went wrong with that request. Please try again.