Skip to content
Snippets Groups Projects

Resolve #3475418 "Wba modernize services"

1 unresolved thread

Closes #3475418

Related phpstan error we can ignore https://github.com/mglaman/phpstan-drupal/issues/598

Edited by dpi

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
70 * Config factory.
71 * @param \Drupal\Core\Session\AccountInterface $currentUser
72 * Current user.
73 25 */
74 public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entityTypeManager, UserSectionStorageInterface $user_section_storage, ConfigFactoryInterface $configFactory, AccountInterface $currentUser) {
75 parent::__construct('Plugin/AccessControlHierarchy', $namespaces, $module_handler, 'Drupal\workbench_access\AccessControlHierarchyInterface', 'Drupal\workbench_access\Annotation\AccessControlHierarchy');
26 final public function __construct(
27 ModuleHandlerInterface $moduleHandler,
28 \Traversable $namespaces,
29 private readonly AccountInterface $currentUser,
30 private readonly UserSectionStorageInterface $userSectionStorage,
31 ) {
32 parent::__construct('Plugin/AccessControlHierarchy', $namespaces, $moduleHandler, AccessControlHierarchyInterface::class, AccessControlHierarchy::class);
76 33
77 34 $this->alterInfo('workbench_access_info');
78 $this->setCacheBackend($cache_backend, 'workbench_access_plugins');
  • dpi added 2 commits

    added 2 commits

    Compare with previous version

  • dpi marked this merge request as ready

    marked this merge request as ready

  • Ken Rickard added 4 commits

    added 4 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading