Skip to content

Instantly share code, notes, and snippets.

@ecorson
Created April 6, 2012 15:51
Show Gist options
  • Save ecorson/2320962 to your computer and use it in GitHub Desktop.
Save ecorson/2320962 to your computer and use it in GitHub Desktop.
Turn on auto aliasing via Views Bulk Operations
<?php
$node = node_load($entity->nid);
$node->path['pathauto'] = TRUE;
node_save($node);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment