class HostingDeployNode in Aegir Deploy 7.3
@file The HostingDeployNode class.
Hierarchy
- class \HostingNode uses HostingFieldable
- class \HostingDeployNode
Expanded class hierarchy of HostingDeployNode
File
- includes/
HostingDeployNode.inc, line 8 - The HostingDeployNode class.
View source
class HostingDeployNode extends HostingNode {
protected $info_fields = [
'field_deployment_strategy',
];
public function nodeView() {
parent::nodeView();
$strategies = HostingDeployForm::getStrategyLabels();
if ($strategy = $this
->getFieldValue('field_deployment_strategy')) {
$this->node->content['info']['field_deployment_strategy']['#markup'] = $strategies[$strategy];
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HostingDeployNode:: |
protected | property |
Overrides HostingNode:: |
|
HostingDeployNode:: |
public | function |
Alter the display of a node. Overrides HostingNode:: |
|
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 | Save the node. | |
HostingNode:: |
function |