public function DateArgumentWrapper::format in Calendar 8
File
- src/
DateArgumentWrapper.php, line 138
Class
- DateArgumentWrapper
- The DateArgumentWrapper class.
Namespace
Drupal\calendarCode
public function format($format) {
if ($date = $this
->createDateTime()) {
return $date
->format($format);
}
return NULL;
}