EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceInfo

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator::workspaceInfo
  2. 10 core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator::workspaceInfo

The workspace information service.

Type: \Drupal\workspaces\WorkspaceInformationInterface

File

core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php, line 37

Class

EntityReferenceSupportedNewEntitiesConstraintValidator
Checks if new entities created for entity reference fields are supported.

Namespace

Drupal\workspaces\Plugin\Validation\Constraint

Code

protected $workspaceInfo;

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