PluginExistsConstraint::$interface
Optional name of the interface that the plugin must implement.
Type: string|null
File
-
core/
lib/ Drupal/ Core/ Plugin/ Plugin/ Validation/ Constraint/ PluginExistsConstraint.php, line 50
Class
- PluginExistsConstraint
- Checks if a plugin exists and optionally implements a particular interface.
Namespace
Drupal\Core\Plugin\Plugin\Validation\ConstraintCode
public ?string $interface = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.