Detects if there were errors in the processing of this date.
File
- drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 484
- Definition of Drupal\Component\Datetime\DateTimePlus
Class
- DateTimePlus
- Extends DateTime().
Namespace
Drupal\Component\Datetime
Code
public function hasErrors() {
return (bool) count($this->errors);
}