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
/
entity_load.twig
1
/**
2
* Implements hook_entity_load().
3
*/
4
function {{ machine_name }}_entity_load($entities, $type) {
5
foreach ($entities as $entity) {
6
$entity->foo = mymodule_add_something($entity, $type);
7
}
8
}