You are here

function domain_access_node_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 142
Domain-based access control for content.

Code

function domain_access_node_presave(EntityInterface $node) {
  domain_access_presave_generate($node);
}