Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By qqboy on
$node = node_load(1);
$node->name = 'jackson';
$list = node_save($node);
$node2 = node_load(1);
dpm($node2);
But the node object is still with the same name ?
Can some one tell us what is happening or I missed something ?
Thanks.
Comments
The node is cached from the
The node is cached from the first time you loaded it. You need to tell it to reset the cache the second time:
Awesome
Awesome
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js