public function HostingPlatformComposerNode::nodeInsert in Aegir Deploy 7.3
File
- modules/
platform_composer/ includes/ HostingPlatformComposerNode.inc, line 17 - The HostingPlatformComposerNode class.
Class
- HostingPlatformComposerNode
- @file The HostingPlatformComposerNode class.
Code
public function nodeInsert() {
// Fields are cached empty when platform nodes are initially created. So,
// we clear the cache for this specific node right after it's inserted, so
// that its fields are available to pass to the back-end.
cache_clear_all('field:node:' . $this
->getNid(), 'cache_field', TRUE);
}