OEmbedResourceConstraint::$providerErrorMessage
Same name in other branches
- 9 core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraint::providerErrorMessage
- 8.9.x core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraint::providerErrorMessage
- 11.x core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraint::providerErrorMessage
The error message if an unexpected behavior occurs.
Type: string
File
-
core/
modules/ media/ src/ Plugin/ Validation/ Constraint/ OEmbedResourceConstraint.php, line 49
Class
- OEmbedResourceConstraint
- Checks if a value represents a valid oEmbed resource URL.
Namespace
Drupal\media\Plugin\Validation\ConstraintCode
public $providerErrorMessage = 'An error occurred while trying to retrieve the oEmbed provider database.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.