projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7a43127fff4adb208178cd99628d7629bee96047
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
path_insert.twig
1
/**
2
* Implements hook_path_insert().
3
*/
4
function {{ machine_name }}_path_insert($path) {
5
db_insert('mytable')
6
->fields(array(
7
'alias' => $path['alias'],
8
'pid' => $path['pid'],
9
))
10
->execute();
11
}