HostingDeployNode.inc in Aegir Deploy 7.3
The HostingDeployNode class.
File
includes/HostingDeployNode.incView source
<?php
/**
* @file
* The HostingDeployNode class.
*/
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];
}
}
}
Classes
Name | Description |
---|---|
HostingDeployNode | @file The HostingDeployNode class. |