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
/
taxonomy_term_insert.twig
1
/**
2
* Implements hook_taxonomy_term_insert().
3
*/
4
function {{ machine_name }}_taxonomy_term_insert($term) {
5
db_insert('mytable')
6
->fields(array(
7
'tid' => $term->tid,
8
'foo' => $term->foo,
9
))
10
->execute();
11
}