You are here

public function Text::__construct in Views TimelineJS integration 8.3

Constructs a new Text object.

Parameters

string $headline: The title of the text resource.

string $text: The body of the text resource.

File

src/TimelineJS/Text.php, line 34

Class

Text
Defines a TimelineJS3 text object.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function __construct($headline = '', $text = '') {
  $this->headline = $headline;
  $this->text = $text;
}