You are here

function pathauto_i18n_node_generate_alias in Pathauto i18n 8

Same name and namespace in other branches
  1. 7 modules/pathauto_i18n_node/pathauto_i18n_node.module \pathauto_i18n_node_generate_alias()

Sets the status of a pathauto_i18n_status to 1.

Parameters

object $node: A node object.

array $context: (optional) Array of additional information about what triggered the action. Not used for this action.

File

modules/pathauto_i18n_node/pathauto_i18n_node.module, line 149
Provides tools for creating multilanguage aliases for nodes.

Code

function pathauto_i18n_node_generate_alias($node, $context = array()) {
  $node->path['pathauto_i18n_status'] = 1;
}