projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4f04b98a5d37a0b4f90d60812d537242fd379ab5
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
taxonomy_vocabulary_insert.twig
1
/**
2
* Implements hook_taxonomy_vocabulary_insert().
3
*/
4
function {{ machine_name }}_taxonomy_vocabulary_insert($vocabulary) {
5
if ($vocabulary->machine_name == 'my_vocabulary') {
6
$vocabulary->weight = 100;
7
}
8
}