function EntityConstraintViolationListInterface::getFieldNames
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getFieldNames()
- 10 core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getFieldNames()
- 11.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getFieldNames()
Returns the names of all violated fields.
Return value
string[] An array of field names.
1 method overrides EntityConstraintViolationListInterface::getFieldNames()
- EntityConstraintViolationList::getFieldNames in core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php - Returns the names of all violated fields.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationListInterface.php, line 85
Class
- EntityConstraintViolationListInterface
- Interface for the result of entity validation.
Namespace
Drupal\Core\EntityCode
public function getFieldNames();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.