You are here

protected static function ValidatableConfigFormBase::mapViolationPropertyPathsToFormNames in CDN 8.3

2 calls to ValidatableConfigFormBase::mapViolationPropertyPathsToFormNames()
CdnSettingsForm::mapViolationPropertyPathsToFormNames in cdn_ui/src/Form/CdnSettingsForm.php
ValidatableConfigFormBase::validateForm in cdn_ui/src/Form/ValidatableConfigFormBase.php
Form validation handler.
1 method overrides ValidatableConfigFormBase::mapViolationPropertyPathsToFormNames()
CdnSettingsForm::mapViolationPropertyPathsToFormNames in cdn_ui/src/Form/CdnSettingsForm.php

File

cdn_ui/src/Form/ValidatableConfigFormBase.php, line 69

Class

ValidatableConfigFormBase
@todo Lift the config validation logic out of this module into core.

Namespace

Drupal\cdn_ui\Form

Code

protected static function mapViolationPropertyPathsToFormNames(string $property_path) : string {
  return str_replace('.', '][', $property_path);
}