You are here

drupal 7一些代码小片段

render(node_view(node_load(63)));

dpm(entity_get_info());

dpm(entity_get_info('node'));

$entity1 = new DrupalDefaultEntityController("user");
dpm($entity1);
$user = $entity1->load(array(1));
dpm($user);