function DateTimePlus::getErrors
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::getErrors()
- 10 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::getErrors()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.