Simplify Implementation

Created on 20 July 2023, over 1 year ago

Problem/Motivation

Hello, I propose to simplify the module a little.
You don't need a subscription to routes. The user creation route calls _entity_create_access which in turn calls the hook to check access.
Alternatively, the hook_entity_create_access hook can be replaced with a hook for a specific entity type hook_ENTITY_TYPE_create_access.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024