protected function DatalayerSettingsForm::keyReplacementsFromArray in dataLayer 8
1 call to DatalayerSettingsForm::keyReplacementsFromArray()
- DatalayerSettingsForm::buildForm in src/
Form/ DatalayerSettingsForm.php - Form constructor.
File
- src/
Form/ DatalayerSettingsForm.php, line 106
Class
- DatalayerSettingsForm
- Defines a form that configures datalayer module settings.
Namespace
Drupal\datalayer\FormCode
protected function keyReplacementsFromArray($replacements) {
$display = '';
if (!is_null($replacements)) {
foreach ($replacements as $label => $replacement) {
$display .= $label . "|" . $replacement . "\r\n";
}
return $display;
}
}