You are here

private function SettingsDataTrait::getValidIdentitySettings in Acquia Lift Connector 8

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

Get a valid identity settings array.

Return value

array A valid identity settings array.

1 call to SettingsDataTrait::getValidIdentitySettings()
PathContextTest::testGetIdentity in tests/src/Unit/Service/Context/PathContextTest.php
Tests the getIdentity() method.

File

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

Class

SettingsDataTrait
Settings Data Trait.

Namespace

Drupal\Tests\acquia_lift\Unit\Traits

Code

private function getValidIdentitySettings() {
  return [
    'capture_identity' => FALSE,
    'identity_parameter' => 'my_identity_parameter',
    'identity_type_parameter' => 'my_identity_type_parameter',
    'default_identity_type' => 'my_default_identity_type',
  ];
}