0

I've tried looking in the "variable" table with SELECT name FROM variable but I think it's not there.

Where does the module save that setting?

2 Answers 2

4

It's stored in the variable named pathauto_ignore_words, you can get it directly like this:

SELECT value FROM variable WHERE name = 'pathauto_ignore_words'

or using the Drupal API like this:

$ignore_words = variable_get('pathauto_ignore_words', '');
0

As @Clive mentioned, it is stored in the variable table, but only after you save the settings for the first time.

Before you save the settings, it is not found in the DB. By default it is stored in a constant within the module. See the default ignore list for Pathauto 7.x-1.2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.