public function DateTimePlus::getErrors in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\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 524
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\DatetimeCode
public function getErrors() {
return $this->errors;
}