public function TitleSlide::__construct in Views TimelineJS integration 8.3
Constructs a new TitleSlide object.
Parameters
\Drupal\views_timelinejs\TimelineJS\TextInterface|null $text: Text to display on the title slide.
Overrides Slide::__construct
File
- src/
TimelineJS/ TitleSlide.php, line 16
Class
- TitleSlide
- Defines a TimelineJS3 title slide.
Namespace
Drupal\views_timelinejs\TimelineJSCode
public function __construct(TextInterface $text = NULL) {
if (!empty($text)) {
$this->text = $text;
}
}