0

I have a custom entity and want to use our current workbench_access scheme to it.

I've google for a long time and can't find and example.

This article says that workbench_access now supports multiple access schemes and maybe I can use that to add access control that way.

Do I write code in hook_install()?

Do I add a specific handler in the @ContentEntityType annotation?

Sorry if this has been covered else where but I for the life of me I can't seem to find an example or figure out what to do.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.