function InternalViolation::__toString
Same name in other branches
- 10 core/lib/Drupal/Core/Field/InternalViolation.php \Drupal\Core\Field\InternalViolation::__toString()
- 11.x core/lib/Drupal/Core/Field/InternalViolation.php \Drupal\Core\Field\InternalViolation::__toString()
File
-
core/
lib/ Drupal/ Core/ Field/ InternalViolation.php, line 73
Class
- InternalViolation
- Wraps a violation to allow arrayPropertyPath to be deprecated.
Namespace
Drupal\Core\FieldCode
public function __toString() : string {
return (string) $this->violation;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.