You are here

public function Pathautoi18nTestBase::setCleanStringSettings in Pathauto i18n 8

Set settings to test cleanstring.

File

src/Tests/Pathautoi18nTestBase.php, line 72
Tests for the pathauto_i18n node module.

Class

Pathautoi18nTestBase
Test functionality for nodes when language selected.

Namespace

Drupal\pathauto_i18n\Tests

Code

public function setCleanStringSettings() {
  $data = array();
  foreach ($this->availableLanguages as $language) {
    $data['pathauto_ignore_words_' . $language . '_language'] = $language;
  }
  $this
    ->drupalPost('admin/config/search/path/settings', $data, t('Save configuration'));
}