You are here

private function SettingsDataTrait::getValidFieldMappingsSettings in Acquia Lift Connector 8

Same name in this branch
  1. 8 src/Tests/SettingsDataTrait.php \Drupal\acquia_lift\Tests\SettingsDataTrait::getValidFieldMappingsSettings()
  2. 8 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidFieldMappingsSettings()
Same name and namespace in other branches
  1. 8.4 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidFieldMappingsSettings()
  2. 8.3 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidFieldMappingsSettings()

Get a valid field mappings settings array.

Return value

array A valid field mappings settings array.

1 call to SettingsDataTrait::getValidFieldMappingsSettings()
PageContextTest::setUp in tests/src/Unit/Service/Context/PageContextTest.php

File

tests/src/Unit/Traits/SettingsDataTrait.php, line 52
Contains \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait.

Class

SettingsDataTrait
Settings Data Trait.

Namespace

Drupal\Tests\acquia_lift\Unit\Traits

Code

private function getValidFieldMappingsSettings() {
  return [
    'content_section' => 'field_country',
    'content_keywords' => 'field_tags',
    'persona' => 'field_people',
  ];
}