Loading core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php +2 −4 Original line number Diff line number Diff line Loading @@ -64,10 +64,8 @@ public function findByCodes(string|array $codes): static; /** * Filters this violation list by the given fields. * * The returned object just has violations attached to the provided fields. * * When violations should be displayed for a sub-set of visible fields only, * this method may be used to filter the set of visible violations first. * Violations for the provided fields are removed so the returned object just * has the remaining violations. * * @param string[] $field_names * The names of the fields to filter violations for. Loading Loading
core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php +2 −4 Original line number Diff line number Diff line Loading @@ -64,10 +64,8 @@ public function findByCodes(string|array $codes): static; /** * Filters this violation list by the given fields. * * The returned object just has violations attached to the provided fields. * * When violations should be displayed for a sub-set of visible fields only, * this method may be used to filter the set of visible violations first. * Violations for the provided fields are removed so the returned object just * has the remaining violations. * * @param string[] $field_names * The names of the fields to filter violations for. Loading