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.3 src/Tests/SettingsDataTrait.php \Drupal\acquia_lift\Tests\SettingsDataTrait::getValidVisibilitySettings()
Get a valid visibility settings array.
Return value
array A valid visibility settings array.
2 calls to SettingsDataTrait::getValidVisibilitySettings()
- SettingsDataTrait::setValidSettings in src/
Tests/ SettingsDataTrait.php - Set valid settings.
- SettingsTest::testAdminSettingsForm in src/
Tests/ SettingsTest.php
File
- src/
Tests/ SettingsDataTrait.php, line 97 - Contains \Drupal\acquia_lift\Tests\SettingsDataTrait.
Class
- SettingsDataTrait
- Settings Data Trait.
Namespace
Drupal\acquia_lift\TestsCode
private function getValidVisibilitySettings() {
return [
'path_patterns' => "/admin\n/admin/*\n/batch\n/node/add*\n/node/*/*\n/user/*/*",
];
}