private function getTitle() {
    if (!is_null($this->options->title)) {
      return $this->options->title;
    }

    if (!is_null($this->media)) {
      return $this->media->title;
    }

    return '';
  }