public function HostingPlatformGitNode::nodeInsert in Aegir Deploy 7.3
File
- modules/
platform_git/ includes/ HostingPlatformGitNode.inc, line 17 - The HostingPlatformGitNode class.
Class
- HostingPlatformGitNode
- @file The HostingPlatformGitNode 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);
}