Neos.ContentRepository/Classes/Domain/Service/NodeTypeManager.php
public function overrideNodeTypes(array $completeNodeTypeConfiguration)
    {
        $this->cachedNodeTypes = [];
        foreach (array_keys($completeNodeTypeConfiguration) as $nodeTypeName) {
            $this->loadNodeType($nodeTypeName, $completeNodeTypeConfiguration);
        }
    }
public function overrideNodeTypes(array $completeNodeTypeConfiguration)
    {
        $this->cachedNodeTypes = [];
        foreach (array_keys($completeNodeTypeConfiguration) as $nodeTypeName) {
            $this->loadNodeType($nodeTypeName, $completeNodeTypeConfiguration);
        }
    }
public function overrideNodeTypes ( array $ completeNodeTypeConfiguration ) { $ this -> cachedNodeTypes = [ ] ; foreach ( array_keys ( $ completeNodeTypeConfiguration ) as $ nodeTypeName ) { $ this -> loadNodeType ( $ nodeTypeName , $ completeNodeTypeConfiguration ) ; } }
This method can be used by Functional of Behavioral Tests to completely
override the node types known in the system.

In order to reset the node type override, an empty array can be passed in.
In this case, the system-node-types are used again.

@param array $completeNodeTypeConfiguration
@return void
This method can be used by Functional of Behavioral Tests to completely override the node types known in the system .