class HostingPlatformComposerGitNode in Aegir Deploy 7.3
@file The HostingPlatformComposerGitNode class.
Hierarchy
- class \HostingNode uses HostingFieldable
Expanded class hierarchy of HostingPlatformComposerGitNode
File
- modules/
platform_composer_git/ includes/ HostingPlatformComposerGitNode.inc, line 8 - The HostingPlatformComposerGitNode class.
View source
class HostingPlatformComposerGitNode extends HostingNode {
protected $info_fields = [
'field_composer_git_docroot',
'field_composer_git_project_url',
'field_composer_git_path',
'field_composer_git_version',
];
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);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HostingFieldable:: |
public | function | Return the target of an entityreference field. | |
HostingFieldable:: |
public | function | Return the value of a field. | |
HostingFieldable:: |
public | function | ||
HostingFieldable:: |
public | function | Return the target of an entityreference field. | |
HostingFieldable:: |
public | function | Set the value of a field. | |
HostingFieldable:: |
public | function | Set the value of a property. | |
HostingNode:: |
protected | property | ||
HostingNode:: |
public | function | Display a field as an Aegir-themed 'info' item. | |
HostingNode:: |
protected | function | ||
HostingNode:: |
public | function | ||
HostingNode:: |
public | function | ||
HostingNode:: |
public | function | ||
HostingNode:: |
public | function | ||
HostingNode:: |
public | function | Alter the display of a node. | |
HostingNode:: |
public | function | Save the node. | |
HostingNode:: |
function | |||
HostingPlatformComposerGitNode:: |
protected | property |
Overrides HostingNode:: |
|
HostingPlatformComposerGitNode:: |
public | function |