class EntityReferenceSupportedNewEntitiesConstraint
Same name in other branches
- 9 core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraint
- 8.9.x core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraint
- 10 core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraint.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraint
The entity reference supported new entities constraint.
Hierarchy
- class \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of EntityReferenceSupportedNewEntitiesConstraint
File
-
core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ EntityReferenceSupportedNewEntitiesConstraint.php, line 12
Namespace
Drupal\workspaces\Plugin\Validation\ConstraintView source
class EntityReferenceSupportedNewEntitiesConstraint extends SymfonyConstraint {
/**
* The default violation message.
*
* @var string
*/
public $message = '%collection_label can only be created in the default workspace.';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
EntityReferenceSupportedNewEntitiesConstraint::$message | public | property | The default violation message. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.