PluginExistsConstraint::$invalidInterfaceMessage
Same name in other branches
- 11.x core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php \Drupal\Core\Plugin\Plugin\Validation\Constraint\PluginExistsConstraint::invalidInterfaceMessage
The error message if a plugin does not implement the expected interface.
Type: string
File
-
core/
lib/ Drupal/ Core/ Plugin/ Plugin/ Validation/ Constraint/ PluginExistsConstraint.php, line 36
Class
- PluginExistsConstraint
- Checks if a plugin exists and optionally implements a particular interface.
Namespace
Drupal\Core\Plugin\Plugin\Validation\ConstraintCode
public string $invalidInterfaceMessage = "The '@plugin_id' plugin must implement or extend @interface.";
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.