17 April 2011

First find this line:
$form['path']['pathauto_perform_alias'] = array(

Then add:
'#value' => 1,

Source code viewer
  1. $form['path']['pathauto_perform_alias'] = array(
  2. '#type' => 'checkbox',
  3. '#value' => 1,
  4. '#title' => t('Automatic alias'),
  5. '#default_value' => $node->pathauto_perform_alias,
  6. '#description' => t('An alias will be generated for you. If you wish to create your own alias below, uncheck this option.'),
  7. '#weight' => -1,
  8. );
Programming Language: PHP