protected function DateTimePlus::prepareFormat in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::prepareFormat()
Prepares the input format value.
Changes the input format before trying to use it, if necessary. Can be overridden to handle special cases.
Parameters
string $format: A PHP format string.
Return value
string The massaged PHP format string.
File
- core/
lib/ Drupal/ Component/ Datetime/ DateTimePlus.php, line 481
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\DatetimeCode
protected function prepareFormat($format) {
return $format;
}