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

Breadcrumb

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

MediaMappingsConstraint::$invalidMappingMessage

The error message if source is used in media mapping.

Type: string

File

core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php, line 25

Class

MediaMappingsConstraint
Validates media mappings.

Namespace

Drupal\media\Plugin\Validation\Constraint

Code

public string $invalidMappingMessage = 'It is not possible to map the source field @source_field_name of a media type.';

API Navigation

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