You are here

public function LingotekConfigChunk::getTitle in Lingotek Translation 7.5

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

Return the title for the current chunk

Return value

string The title of the current chunk

Overrides LingotekTranslatableEntity::getTitle

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

File

lib/Drupal/lingotek/LingotekConfigChunk.php, line 123
Defines LingotekConfigChunk.

Class

LingotekConfigChunk
A class wrapper for Lingotek-specific behavior on ConfigChunks.

Code

public function getTitle() {
  if ($this->title) {
    return $this->title;
  }
  $this->title = 'Drupal configuration (' . $this->min_lid . '-' . $this->max_lid . ')';
  return $this->title;
}