W3cubDocs

/Drupal 8

public function EntityConstraintViolationListInterface::getFieldNames

public EntityConstraintViolationListInterface::getFieldNames()

Returns the names of all violated fields.

Return value

string[] An array of field names.

File

core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 85

Class

EntityConstraintViolationListInterface
Interface for the result of entity validation.

Namespace

Drupal\Core\Entity

Code

public function getFieldNames();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityConstraintViolationListInterface.php/function/EntityConstraintViolationListInterface::getFieldNames/8.1.x