You are here

public function LingotekConfigSet::getTitle in Lingotek Translation 7.6

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

Return the title for the current set

Return value

string The title of the current set

Overrides LingotekTranslatableEntity::getTitle

2 calls to LingotekConfigSet::getTitle()
LingotekConfigSet::getDescription in lib/Drupal/lingotek/LingotekConfigSet.php
Return the description for the current set
LingotekConfigSet::getDocumentName in lib/Drupal/lingotek/LingotekConfigSet.php

File

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

Class

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

Code

public function getTitle() {
  if ($this->title) {
    return $this->title;
  }
  $this->title = self::getTitleBySetId($this->sid);
  return $this->title;
}