private function SettingsDataTrait::setValidSettings in Acquia Lift Connector 8
Same name and namespace in other branches
- 8.3 src/Tests/SettingsDataTrait.php \Drupal\acquia_lift\Tests\SettingsDataTrait::setValidSettings()
Set valid settings.
Return value
array A valid settings array.
1 call to SettingsDataTrait::setValidSettings()
File
- src/
Tests/ SettingsDataTrait.php, line 20 - Contains \Drupal\acquia_lift\Tests\SettingsDataTrait.
Class
- SettingsDataTrait
- Settings Data Trait.
Namespace
Drupal\acquia_lift\TestsCode
private function setValidSettings() {
$settings = $this
->config('acquia_lift.settings');
$settings
->set('credential', $this
->getValidCredentialSettings());
$settings
->set('identity', $this
->getValidIdentitySettings());
$settings
->set('field_mappings', $this
->getValidFieldMappingsSettings());
$settings
->set('thumbnail', $this
->getValidThumbnailSettings());
$settings
->set('visibility', $this
->getValidVisibilitySettings());
$settings
->save();
}