You are here

public property OEmbedResourceConstraint::$invalidResourceMessage in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraint::invalidResourceMessage

The error message if the URL is not a valid oEmbed resource.

Type: string

File

core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php, line 41

Class

OEmbedResourceConstraint
Checks if a value represents a valid oEmbed resource URL.

Namespace

Drupal\media\Plugin\Validation\Constraint

Code

public $invalidResourceMessage = 'The provided URL does not represent a valid oEmbed resource.';