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