projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated to Drupal 8.5. Core Media not yet in use.
[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
}