public function NetlifyManagerInterface::formatNetlifyDateTime in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 modules/build_hooks_netlify/src/NetlifyManagerInterface.php \Drupal\build_hooks_netlify\NetlifyManagerInterface::formatNetlifyDateTime()
Converts the datetime format into a drupal formatted date.
Parameters
string $datetime: Date in the format returned by the Netlify api.
Return value
string Drupal formatted date.
1 method overrides NetlifyManagerInterface::formatNetlifyDateTime()
- NetlifyManager::formatNetlifyDateTime in modules/
build_hooks_netlify/ src/ NetlifyManager.php - Converts the datetime format into a drupal formatted date.
File
- modules/
build_hooks_netlify/ src/ NetlifyManagerInterface.php, line 19
Class
- NetlifyManagerInterface
- NetlifyManager interface.
Namespace
Drupal\build_hooks_netlifyCode
public function formatNetlifyDateTime($datetime);