function FormattedDateDiff::getString
Same name in other branches
- 9 core/lib/Drupal/Core/Datetime/FormattedDateDiff.php \Drupal\Core\Datetime\FormattedDateDiff::getString()
- 8.9.x core/lib/Drupal/Core/Datetime/FormattedDateDiff.php \Drupal\Core\Datetime\FormattedDateDiff::getString()
- 11.x core/lib/Drupal/Core/Datetime/FormattedDateDiff.php \Drupal\Core\Datetime\FormattedDateDiff::getString()
Return value
string
File
-
core/
lib/ Drupal/ Core/ Datetime/ FormattedDateDiff.php, line 49
Class
- FormattedDateDiff
- Contains a formatted time difference.
Namespace
Drupal\Core\DatetimeCode
public function getString() {
return $this->string;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.