OEmbedResourceConstraintValidator::$resourceFetcher

Same name in other branches
  1. 9 core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator::resourceFetcher
  2. 10 core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator::resourceFetcher
  3. 11.x core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator::resourceFetcher

The resource fetcher service.

Type: \Drupal\media\OEmbed\ResourceFetcherInterface

File

core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php, line 37

Class

OEmbedResourceConstraintValidator
Validates oEmbed resource URLs.

Namespace

Drupal\media\Plugin\Validation\Constraint

Code

protected $resourceFetcher;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.