Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
e4750a75
Commit
e4750a75
authored
Sep 09, 2014
by
alexpott
Browse files
Issue
#2330943
by herom: Remove mention of hook_date_format_types() in docs.
parent
f749eac3
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/includes/common.inc
View file @
e4750a75
...
...
@@ -593,8 +593,7 @@ function format_size($size, $langcode = NULL) {
* - One of the built-in formats: 'short', 'medium',
* 'long', 'html_datetime', 'html_date', 'html_time',
* 'html_yearless_date', 'html_week', 'html_month', 'html_year'.
* - The name of a date type defined by a module in
* hook_date_format_types(), if it's been assigned a format.
* - The name of a date type defined by a date format config entity.
* - The machine name of an administrator-defined date format.
* - 'custom', to use $format.
* Defaults to 'medium'.
...
...
core/lib/Drupal/Core/Datetime/DateFormatter.php
View file @
e4750a75
...
...
@@ -103,8 +103,7 @@ public function __construct(EntityManagerInterface $entity_manager, LanguageMana
* - One of the built-in formats: 'short', 'medium',
* 'long', 'html_datetime', 'html_date', 'html_time',
* 'html_yearless_date', 'html_week', 'html_month', 'html_year'.
* - The name of a date type defined by a module in
* hook_date_format_types(), if it's been assigned a format.
* - The name of a date type defined by a date format config entity.
* - The machine name of an administrator-defined date format.
* - 'custom', to use $format.
* Defaults to 'medium'.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment