You are here

public function DomainConfigUITrait::standardizePaths in Domain Access 8

Normalizes the path string using \r\n for linebreaks.

Parameters

string $path_string: The string of paths.

Return value

string A normalized path string.

2 calls to DomainConfigUITrait::standardizePaths()
DomainConfigUIController::ajaxOperation in domain_config_ui/src/Controller/DomainConfigUIController.php
Handles AJAX operations to add/remove configuration forms.
SettingsForm::buildForm in domain_config_ui/src/Form/SettingsForm.php
Form constructor.

File

domain_config_ui/src/DomainConfigUITrait.php, line 100

Class

DomainConfigUITrait
Contains helper classes for the user interface.

Namespace

Drupal\domain_config_ui

Code

public function standardizePaths($path_string) {
  return $this
    ->implodePathSettings($this
    ->explodePathSettings($path_string));
}