You are here

public function LingotekConfigSet::__get in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::__get()

Magic get for access to set and set properties.

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 1219
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

public function __get($property_name) {
  $property = NULL;
  if ($property === self::DRUPAL_ENTITY_TYPE) {
    $property = $this;
  }
  elseif (isset($this->{$property_name})) {
    $property = $this->{$property_name};
  }
  return $property;
}