Issue #2330943 by herom: Remove mention of hook_date_format_types() in docs.

8.0.x
Alex Pott 2014-09-09 14:22:57 +01:00
parent f749eac343
commit e4750a75ad
2 changed files with 2 additions and 4 deletions

View File

@ -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'.

View File

@ -103,8 +103,7 @@ class DateFormatter {
* - 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'.