Issue #2047983 follow-up by plopesc: Mark field_info_()*_types() / field_info_()*_settings() functions as deprecated.

8.0.x
Alex Pott 2013-07-26 16:05:20 +02:00
parent 12eba5629f
commit f1ce57ce4a
1 changed files with 2 additions and 2 deletions

View File

@ -544,7 +544,7 @@ function field_info_instance_settings($type) {
*
* @deprecated as of Drupal 8.0. Use the 'settings' property in the definition
* array returned by
* Drupal::service('plugin.manager.field.formatter')->getDefinition()
* Drupal::service('plugin.manager.field.widget')->getDefinition()
*/
function field_info_widget_settings($type) {
$info = field_info_widget_types($type);
@ -564,7 +564,7 @@ function field_info_widget_settings($type) {
*
* @deprecated as of Drupal 8.0. Use the 'settings' property in the definition
* array returned by
* Drupal::service('plugin.manager.field.widget')->getDefinition()
* Drupal::service('plugin.manager.field.formatter')->getDefinition()
*/
function field_info_formatter_settings($type) {
$info = field_info_formatter_types($type);