DateTimePlus::getErrors

public DateTimePlus::getErrors()

Gets error messages.

Public function to return the error messages.

Return value

array An array of errors encountered when creating this date.

File

core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 474

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

1
2
3
public function getErrors() {
  return $this->errors;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.