private function SettingsDataTrait::getValidVisibilitySettings in Acquia Lift Connector 8
Same name in this branch
- 8 src/Tests/SettingsDataTrait.php \Drupal\acquia_lift\Tests\SettingsDataTrait::getValidVisibilitySettings()
- 8 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidVisibilitySettings()
Same name and namespace in other branches
- 8.4 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidVisibilitySettings()
- 8.3 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidVisibilitySettings()
Get a valid visibility settings array.
Return value
array A valid visibility settings array.
1 call to SettingsDataTrait::getValidVisibilitySettings()
- PathContextTest::setUp in tests/
src/ Unit/ Service/ Context/ PathContextTest.php
File
- tests/
src/ Unit/ Traits/ SettingsDataTrait.php, line 81 - Contains \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait.
Class
- SettingsDataTrait
- Settings Data Trait.
Namespace
Drupal\Tests\acquia_lift\Unit\TraitsCode
private function getValidVisibilitySettings() {
return [
'path_patterns' => "/admin\n/admin/*\n/batch\n/node/add*\n/node/*/*\n/user/*/*",
];
}