You are here

public function EntityConstraintViolationListInterface::getFieldNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 90
Contains \Drupal\Core\Entity\EntityConstraintViolationListInterface.

Class

EntityConstraintViolationListInterface
Interface for the result of entity validation.

Namespace

Drupal\Core\Entity

Code

public function getFieldNames();