You are here

public function HostingPlatformComposerGitNode::nodeInsert in Aegir Deploy 7.3

File

modules/platform_composer_git/includes/HostingPlatformComposerGitNode.inc, line 17
The HostingPlatformComposerGitNode class.

Class

HostingPlatformComposerGitNode
@file The HostingPlatformComposerGitNode 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);
}