You are here

constant EntityValidationException::MESSAGES_SEPARATOR in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::MESSAGES_SEPARATOR
  2. 9 core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::MESSAGES_SEPARATOR

The separator for combining multiple messages into a single string.

Afterwards, the separator could be used to split a concatenated string onto multiple lines.

explode(EntityValidationException::MESSAGES_SEPARATOR, $messages);

File

core/modules/migrate/src/Exception/EntityValidationException.php, line 25

Class

EntityValidationException
To throw when an entity generated during the import is not valid.

Namespace

Drupal\migrate\Exception

Code

const MESSAGES_SEPARATOR = '||';