Commit 991b45de authored by webchick's avatar webchick
Browse files

Issue #1618136 follow-up by fgm: Remove type from entity hooks.

parent 0c45af26
......@@ -1204,7 +1204,6 @@ function node_view(Node $node, $view_mode = 'full', $langcode = NULL) {
// Allow modules to modify the structured node.
$type = 'node';
drupal_alter(array('node_view', 'entity_view'), $build, $node);
return $build;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment