Currently in _pathauto_set_alias() we use:

$path = array('source' => $source, 'alias' => $alias, 'pid' => $pid, 'language' => $language);
path_save($path);

If we use this:

$path = array('source' => $source, 'alias' => $alias, 'pid' => $pid, 'language' => $language, 'pathauto' => TRUE);
path_save($path);

Modules that implement hook_path_save() can check for !empty($path['pathauto'])). Nothing that affects our own module, but helps others.

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new873 bytes
dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.