You are here

private function LingotekNode::__construct in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.3 lib/Drupal/lingotek/LingotekNode.php \LingotekNode::__construct()
  2. 7.4 lib/Drupal/lingotek/LingotekNode.php \LingotekNode::__construct()

Constructor.

This is private since we want consumers to instantiate via the factory methods.

Parameters

object $node: A Drupal node.

File

lib/Drupal/lingotek/LingotekNode.php, line 42
Defines LingotekNode.

Class

LingotekNode
A class wrapper for Lingotek-specific behavior on nodes.

Code

private function __construct($node) {
  $this->node = $node;
}