Loading src/Form/AddToAnySettingsForm.php +6 −6 Original line number Diff line number Diff line Loading @@ -3,16 +3,16 @@ namespace Drupal\addtoany\Form; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Entity\ContentEntityType; use Drupal\Core\Entity\EntityTypeBundleInfoInterface; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Extension\ExtensionList; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\Link; use Drupal\Core\StringTranslation\TranslatableMarkup; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Entity\ContentEntityType; use Drupal\Core\Link; /** * Configure AddToAny settings for this site. Loading @@ -21,7 +21,7 @@ class AddToAnySettingsForm extends ConfigFormBase { /** * Drupal\Core\Extension\ModuleHandler definition. * * @var \Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; Loading @@ -44,14 +44,14 @@ class AddToAnySettingsForm extends ConfigFormBase { * * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The factory for configuration objects. * @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler to invoke the alter hook with. * @param \Drupal\Core\Extension\ExtensionList $module_extension_list * The module extension list service. * @param \Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info * The entity type bundle info service. */ public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, ExtensionList $module_extension_list, EntityTypeBundleInfoInterface $entity_type_bundle_info) { public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, ExtensionList $module_extension_list, EntityTypeBundleInfoInterface $entity_type_bundle_info) { parent::__construct($config_factory); $this->moduleHandler = $module_handler; $this->moduleExtensionList = $module_extension_list; Loading Loading
src/Form/AddToAnySettingsForm.php +6 −6 Original line number Diff line number Diff line Loading @@ -3,16 +3,16 @@ namespace Drupal\addtoany\Form; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Entity\ContentEntityType; use Drupal\Core\Entity\EntityTypeBundleInfoInterface; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Extension\ExtensionList; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\Link; use Drupal\Core\StringTranslation\TranslatableMarkup; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Entity\ContentEntityType; use Drupal\Core\Link; /** * Configure AddToAny settings for this site. Loading @@ -21,7 +21,7 @@ class AddToAnySettingsForm extends ConfigFormBase { /** * Drupal\Core\Extension\ModuleHandler definition. * * @var \Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; Loading @@ -44,14 +44,14 @@ class AddToAnySettingsForm extends ConfigFormBase { * * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The factory for configuration objects. * @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler to invoke the alter hook with. * @param \Drupal\Core\Extension\ExtensionList $module_extension_list * The module extension list service. * @param \Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info * The entity type bundle info service. */ public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, ExtensionList $module_extension_list, EntityTypeBundleInfoInterface $entity_type_bundle_info) { public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, ExtensionList $module_extension_list, EntityTypeBundleInfoInterface $entity_type_bundle_info) { parent::__construct($config_factory); $this->moduleHandler = $module_handler; $this->moduleExtensionList = $module_extension_list; Loading