You are here

class BrightcoveVideoByApiClientConstraint in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Validation/Constraint/BrightcoveVideoByApiClientConstraint.php \Drupal\brightcove\Plugin\Validation\Constraint\BrightcoveVideoByApiClientConstraint
  2. 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

Expanded class hierarchy of BrightcoveVideoByApiClientConstraint

File

src/Plugin/Validation/Constraint/BrightcoveVideoByApiClientConstraint.php, line 15

Namespace

Drupal\brightcove\Plugin\Validation\Constraint
View source
class BrightcoveVideoByApiClientConstraint extends Constraint {

  /**
   * Error message for missing API client ID.
   *
   * @var string
   */
  public $missingApiClient = "API client ID is missing.";

}

Members

Namesort descending Modifiers Type Description Overrides
BrightcoveVideoByApiClientConstraint::$missingApiClient public property Error message for missing API client ID.