public function EntityConstraintViolationListInterface::getFieldNames in Drupal 8
Same name and namespace in other branches
- 9 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();