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

Breadcrumb

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

ContentTranslationSynchronizedFieldsConstraint::$defaultRevisionMessage

Message shown for non-translatable field changes in non-default revision.

In this case "elements" refers to "field properties". It is what we are using in the UI elsewhere.

Type: defaultRevisionMessage

File

core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraint.php, line 27

Class

ContentTranslationSynchronizedFieldsConstraint
Validation constraint for the entity changed timestamp.

Namespace

Drupal\content_translation\Plugin\Validation\Constraint

Code

public $defaultRevisionMessage = 'Non-translatable field elements can only be changed when updating the current revision.';

API Navigation

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