You are here

function domain_source_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_source/domain_source.module, line 260
Domain-based path rewrites for content.

Code

function domain_source_node_presave(EntityInterface $node) {
  domain_source_presave_generate($node);
}