Drupal Get Node Id From View

[Solved] Drupal Get Node Id From View | Php Frameworks Drupal - Code Explorer | yomemimo.com
Question : Drupal get node id from view

Answered by : fabrizio-sabato

$node = menu_get_object();
$contentType = node_type_get_name($node);

Source : https://stackoverflow.com/questions/1668874/drupal-getting-node-id-from-view-to-customise-link-in-block/30504982#30504982 | Last Update : Fri, 29 Apr 22

Answers related to Drupal get node id from view

Code Explorer Popular Question For Php Frameworks Drupal