44
55use Drupal \Component \Plugin \Exception \PluginNotFoundException ;
66use Drupal \Core \Config \ConfigFactoryInterface ;
7- use Drupal \Core \Entity \EntityFieldManager ;
8- use Drupal \Core \Entity \EntityTypeBundleInfo ;
9- use Drupal \Core \Entity \EntityTypeManager ;
7+ use Drupal \Core \Entity \EntityFieldManagerInterface ;
8+ use Drupal \Core \Entity \EntityTypeBundleInfoInterface ;
9+ use Drupal \Core \Entity \EntityTypeManagerInterface ;
1010use Drupal \Core \Form \ConfigFormBase ;
1111use Drupal \Core \Form \FormStateInterface ;
1212use Symfony \Component \DependencyInjection \ContainerInterface ;
@@ -28,17 +28,17 @@ class CSVExportSettingsForm extends ConfigFormBase
2828 const USER_FIELDS = 'user_fields ' ;
2929 const USER_FIELDSET = 'user_fieldset ' ;
3030
31- /** @var EntityFieldManager */
31+ /** @var EntityFieldManagerInterface */
3232 protected $ entityFieldManager ;
3333
34- /** @var EntityTypeBundleInfo */
34+ /** @var EntityTypeBundleInfoInterface */
3535 protected $ entityTypeBundleInfo ;
3636
37- /** @var EntityTypeManager */
37+ /** @var EntityTypeManagerInterface */
3838 protected $ entityTypeManager ;
3939
4040 /** {@inheritdoc} */
41- public function __construct (ConfigFactoryInterface $ config_factory , EntityFieldManager $ entityFieldManager , EntityTypeBundleInfo $ entityTypeBundleInfo , EntityTypeManager $ entityTypeManager )
41+ public function __construct (ConfigFactoryInterface $ config_factory , EntityFieldManagerInterface $ entityFieldManager , EntityTypeBundleInfoInterface $ entityTypeBundleInfo , EntityTypeManagerInterface $ entityTypeManager )
4242 {
4343 parent ::__construct ($ config_factory );
4444 $ this ->entityFieldManager = $ entityFieldManager ;
0 commit comments