You are here

public property OEmbedResourceConstraint::$unknownProviderMessage 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::unknownProviderMessage

The error message if the URL does not match any known provider.

Type: string

File

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

Class

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

Namespace

Drupal\media\Plugin\Validation\Constraint

Code

public $unknownProviderMessage = 'The given URL does not match any known oEmbed providers.';