PluginExistsConstraint::$unknownPluginMessage

Same name in other branches
  1. 10 core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php \Drupal\Core\Plugin\Plugin\Validation\Constraint\PluginExistsConstraint::unknownPluginMessage

The error message if a plugin does not exist.

Type: string

File

core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php, line 29

Class

PluginExistsConstraint
Checks if a plugin exists and optionally implements a particular interface.

Namespace

Drupal\Core\Plugin\Plugin\Validation\Constraint

Code

public string $unknownPluginMessage = "The '@plugin_id' plugin does not exist.";

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