Loading src/Lazy.php +4 −4 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ namespace Drupal\lazy; use Drupal\Core\Condition\ConditionManager; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Routing\AdminContext; use Symfony\Component\HttpFoundation\RequestStack; Loading Loading @@ -46,7 +46,7 @@ class Lazy implements LazyInterface { /** * The module manager. * * @var \Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; Loading @@ -61,7 +61,7 @@ class Lazy implements LazyInterface { * The condition plugins manager. * @param \Drupal\Core\Routing\AdminContext $admin_context * The route admin context service. * @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module manager. */ public function __construct( Loading @@ -69,7 +69,7 @@ class Lazy implements LazyInterface { RequestStack $request_stack, ConditionManager $condition_manager, AdminContext $admin_context, ModuleHandler $module_handler ModuleHandlerInterface $module_handler ) { $this->lazySettings = $config_factory->get('lazy.settings')->get(); $this->requestStack = $request_stack->getCurrentRequest(); Loading Loading
src/Lazy.php +4 −4 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ namespace Drupal\lazy; use Drupal\Core\Condition\ConditionManager; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Routing\AdminContext; use Symfony\Component\HttpFoundation\RequestStack; Loading Loading @@ -46,7 +46,7 @@ class Lazy implements LazyInterface { /** * The module manager. * * @var \Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; Loading @@ -61,7 +61,7 @@ class Lazy implements LazyInterface { * The condition plugins manager. * @param \Drupal\Core\Routing\AdminContext $admin_context * The route admin context service. * @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module manager. */ public function __construct( Loading @@ -69,7 +69,7 @@ class Lazy implements LazyInterface { RequestStack $request_stack, ConditionManager $condition_manager, AdminContext $admin_context, ModuleHandler $module_handler ModuleHandlerInterface $module_handler ) { $this->lazySettings = $config_factory->get('lazy.settings')->get(); $this->requestStack = $request_stack->getCurrentRequest(); Loading