You are here

protected static function CdnSettingsForm::mapViolationPropertyPathsToFormNames in CDN 8.3

Overrides ValidatableConfigFormBase::mapViolationPropertyPathsToFormNames

File

cdn_ui/src/Form/CdnSettingsForm.php, line 354

Class

CdnSettingsForm
Configure CDN settings for this site.

Namespace

Drupal\cdn_ui\Form

Code

protected static function mapViolationPropertyPathsToFormNames(string $property_path) : string {
  switch ($property_path) {
    case 'mapping.domain':
      return 'mapping][simple][domain';
    case 'scheme':
      return 'mapping][simple][scheme';
    default:
      return parent::mapViolationPropertyPathsToFormNames($property_path);
  }
}