You are here

public property OEmbedResourceConstraint::$disallowedProviderMessage in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraint::disallowedProviderMessage
  2. 10 core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraint::disallowedProviderMessage

The error message if the URL matches a disallowed provider.

Type: string

File

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

Class

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

Namespace

Drupal\media\Plugin\Validation\Constraint

Code

public $disallowedProviderMessage = 'Sorry, the @name provider is not allowed.';