Commit f1ce57ce authored by alexpott's avatar alexpott

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

Issue #2047983 follow-up by plopesc: Mark field_info_()*_types() / field_info_()*_settings() functions as deprecated.
parent 12eba562
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment