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

Breadcrumb

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

TaxonomyTermHierarchyConstraint::$message

The default violation message.

Type: string

File

core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraint.php, line 23

Class

TaxonomyTermHierarchyConstraint
Validation constraint for changing the term hierarchy in pending revisions.

Namespace

Drupal\taxonomy\Plugin\Validation\Constraint

Code

public $message = 'You can only change the hierarchy for the <em>published</em> version of this term.';

API Navigation

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