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