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
/
node_view.twig
1
/**
2
* Implements hook_node_view().
3
*/
4
function {{ machine_name }}_node_view($node, $view_mode, $langcode) {
5
$node->content['my_additional_field'] = array(
6
'#markup' => $additional_field,
7
'#weight' => 10,
8
'#theme' => 'mymodule_my_additional_field',
9
);
10
}