function EntityConstraintViolationListInterface::getFieldNames

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getFieldNames()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getFieldNames()
  3. 10 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 99

Class

EntityConstraintViolationListInterface
Interface for the result of entity validation.

Namespace

Drupal\Core\Entity

Code

public function getFieldNames();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.