class BrightcoveVideoByApiClientConstraint in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Plugin/Validation/Constraint/BrightcoveVideoByApiClientConstraint.php \Drupal\brightcove\Plugin\Validation\Constraint\BrightcoveVideoByApiClientConstraint
- 3.x src/Plugin/Validation/Constraint/BrightcoveVideoByApiClientConstraint.php \Drupal\brightcove\Plugin\Validation\Constraint\BrightcoveVideoByApiClientConstraint
Defines constraint for BrightcoveVideo referenced entity by API client.
@Constraint( id = "brightcove_video_by_api_client_constraint", label = @Translation("BrightcoveVideo constraint", context = "Validation"), );
Hierarchy
- class \Drupal\brightcove\Plugin\Validation\Constraint\BrightcoveVideoByApiClientConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of BrightcoveVideoByApiClientConstraint
File
- src/
Plugin/ Validation/ Constraint/ BrightcoveVideoByApiClientConstraint.php, line 15
Namespace
Drupal\brightcove\Plugin\Validation\ConstraintView source
class BrightcoveVideoByApiClientConstraint extends Constraint {
/**
* Error message for missing API client ID.
*
* @var string
*/
public $missingApiClient = "API client ID is missing.";
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BrightcoveVideoByApiClientConstraint:: |
public | property | Error message for missing API client ID. |