EntityValidationException::MESSAGES_SEPARATOR

Same name in other branches
  1. 9 core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::MESSAGES_SEPARATOR
  2. 8.9.x core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::MESSAGES_SEPARATOR
  3. 11.x 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 = '||';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.