Last active
July 25, 2016 18:14
-
-
Save mchelen/db3e109f543f4dd860bfa3d7a2a0b606 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test123_node_view(\Drupal\Core\Entity\EntityInterface $node, \Drupal\entity\Plugin\Core\Entity\EntityDisplay $display, $view_mode, $langcode) { | |
dpm($node); | |
} | |
/* | |
Recoverable fatal error: Argument 1 passed to test123_node_view() must implement interface Drupal\Core\Entity\EntityInterface, array given in test123_node_view() (line 28 of modules/custom/test123/test123.module). | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment