You are here

class HostingDeployNode in Aegir Deploy 7.3

@file The HostingDeployNode class.

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
HostingDeployNode::$info_fields protected property Overrides HostingNode::$info_fields
HostingDeployNode::nodeView public function Alter the display of a node. Overrides HostingNode::nodeView
HostingFieldable::getEntityReference public function Return the target of an entityreference field.
HostingFieldable::getFieldValue public function Return the value of a field.
HostingFieldable::getFieldValueType public function
HostingFieldable::setEntityReference public function Return the target of an entityreference field.
HostingFieldable::setFieldValue public function Set the value of a field.
HostingFieldable::setProperty public function Set the value of a property.
HostingNode::$node protected property
HostingNode::fixNodeFieldDisplay public function Display a field as an Aegir-themed 'info' item.
HostingNode::getInfoFields protected function
HostingNode::getLanguage public function
HostingNode::getNid public function
HostingNode::getNode public function
HostingNode::getTitle public function
HostingNode::save public function Save the node.
HostingNode::__construct function