/**
  * Factory method for getting a loaded LingotekConfigChunk object.
  *
  * @param int $chunk_id
  *   A Drupal config chunk ID.
  *
  * @return mixed
  *   A loaded LingotekConfigChunk object if found, FALSE if the chunk could not be loaded.
  */
 public static function loadById($chunk_id)
 {
     $chunk = FALSE;
     // get any segments that should be associated with this chunk
     // if segments exist, return a LingotekConfigChunk instance
     // otherwise, return FALSE
     $chunk_segments = self::getAllSegments($chunk_id);
     if ($chunk_segments) {
         $chunk = new LingotekConfigChunk($chunk_id);
         $chunk->setApi(LingotekApi::instance());
     }
     return $chunk;
 }