Loading src/Form/RestUIForm.php +4 −4 Original line number Diff line number Diff line Loading @@ -4,10 +4,10 @@ namespace Drupal\restui\Form; use Drupal\Core\Authentication\AuthenticationCollectorInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\rest\Plugin\ResourceInterface; use Drupal\rest\RestResourceConfigInterface; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -23,7 +23,7 @@ class RestUIForm extends ConfigFormBase { /** * The module handler. * * @var \Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; Loading Loading @@ -67,7 +67,7 @@ class RestUIForm extends ConfigFormBase { * * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The config factory. * @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * @param \Drupal\Core\Authentication\AuthenticationCollectorInterface $authentication_collector * The authentication collector. Loading @@ -80,7 +80,7 @@ class RestUIForm extends ConfigFormBase { * @param \Drupal\Core\Messenger\MessengerInterface $messenger * The messenger service. */ public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, AuthenticationCollectorInterface $authentication_collector, array $formats, ResourcePluginManager $resourcePluginManager, EntityStorageInterface $resource_config_storage, MessengerInterface $messenger) { public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, AuthenticationCollectorInterface $authentication_collector, array $formats, ResourcePluginManager $resourcePluginManager, EntityStorageInterface $resource_config_storage, MessengerInterface $messenger) { parent::__construct($config_factory); $this->moduleHandler = $module_handler; $this->authenticationCollector = $authentication_collector; Loading Loading
src/Form/RestUIForm.php +4 −4 Original line number Diff line number Diff line Loading @@ -4,10 +4,10 @@ namespace Drupal\restui\Form; use Drupal\Core\Authentication\AuthenticationCollectorInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\rest\Plugin\ResourceInterface; use Drupal\rest\RestResourceConfigInterface; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -23,7 +23,7 @@ class RestUIForm extends ConfigFormBase { /** * The module handler. * * @var \Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; Loading Loading @@ -67,7 +67,7 @@ class RestUIForm extends ConfigFormBase { * * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The config factory. * @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * @param \Drupal\Core\Authentication\AuthenticationCollectorInterface $authentication_collector * The authentication collector. Loading @@ -80,7 +80,7 @@ class RestUIForm extends ConfigFormBase { * @param \Drupal\Core\Messenger\MessengerInterface $messenger * The messenger service. */ public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, AuthenticationCollectorInterface $authentication_collector, array $formats, ResourcePluginManager $resourcePluginManager, EntityStorageInterface $resource_config_storage, MessengerInterface $messenger) { public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, AuthenticationCollectorInterface $authentication_collector, array $formats, ResourcePluginManager $resourcePluginManager, EntityStorageInterface $resource_config_storage, MessengerInterface $messenger) { parent::__construct($config_factory); $this->moduleHandler = $module_handler; $this->authenticationCollector = $authentication_collector; Loading