Get field widget settings In Drupal 7 they can be found in object that is returned by field_info_instance().
Is there a way to get widget settings for certain field name and bundle in Drupal 8?
I found the way :-)

$settings = entity_get_form_display('node', 'article', 'default')
  -&gt;getComponent('field_image')['settings'];