Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Drupal get node id from view

$node = menu_get_object();
$contentType = node_type_get_name($node);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Drupal #node #id #view
ADD COMMENT
Topic
Name
6+4 =