define('PATHAUTO_IGNORE_WORDS', 'a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with');

I can't see where this gets used.

On D8, the default value of the setting is in a config yml file.

CommentFileSizeAuthor
#2 pathauto_unused_constant-2987588-2.diff514 bytesAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim created an issue. See original summary.

Anonymous’s picture

Status: Active » Needs review
FileSize
514 bytes

It doesn't look necessary to me. Here's a patch to remove it.

idebr’s picture

Title: unused constant » Unused constant PATHAUTO_IGNORE_WORDS defined in pathauto.module
Status: Needs review » Reviewed & tested by the community
idebr’s picture

Version: 8.x-1.2 » 8.x-1.x-dev
Berdir’s picture

Status: Reviewed & tested by the community » Fixed

I suppose the chance that someone used this is pretty slim, thanks.

  • Berdir committed 8eaab8a on 8.x-1.x authored by JKerschner
    Issue #2987588 by JKerschner: Unused constant PATHAUTO_IGNORE_WORDS...

Status: Fixed » Closed (fixed)

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