Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OEmbedResourceConstraint.php

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 42

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.';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal