LangcodeRequiredIfTranslatableValuesConstraint::$superfluousMessage

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php \Drupal\Core\Config\Plugin\Validation\Constraint\LangcodeRequiredIfTranslatableValuesConstraint::superfluousMessage

The error message if this config object contains a superfluous `langcode`.

Type: string

File

core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php, line 30

Class

LangcodeRequiredIfTranslatableValuesConstraint

Namespace

Drupal\Core\Config\Plugin\Validation\Constraint

Code

public string $superfluousMessage = "The @name config object does not contain any translatable values, so it should not specify a language code.";

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.