You are here

function domain_access_user_presave in Domain Access 8

Implements hook_ENTITY_TYPE_presave().

Fires only if Devel Generate module is present, to assign test nodes to domains.

File

domain_access/domain_access.module, line 152
Domain-based access control for content.

Code

function domain_access_user_presave(EntityInterface $account) {
  domain_access_presave_generate($account);
}