interface SlideInterface in Views TimelineJS integration 8.3
Provides an interface for defining TimelineJS3 slides.
Hierarchy
- interface \Drupal\views_timelinejs\TimelineJS\ObjectInterface
- interface \Drupal\views_timelinejs\TimelineJS\SlideInterface
Expanded class hierarchy of SlideInterface
All classes that implement SlideInterface
File
- src/
TimelineJS/ SlideInterface.php, line 8
Namespace
Drupal\views_timelinejs\TimelineJSView source
interface SlideInterface extends ObjectInterface {
/**
* Sets the media for this slide.
*
* @param \Drupal\views_timelinejs\TimelineJS\MediaInterface $media
* The media object.
*/
public function setMedia(MediaInterface $media);
/**
* Sets the group for this slide.
*
* @param string $group
* The group name.
*/
public function setGroup($group);
/**
* Sets the display date for this slide.
*
* @param string $display_date
* The display date.
*/
public function setDisplayDate($display_date);
/**
* Sets the background for this slide.
*
* @param \Drupal\views_timelinejs\TimelineJS\BackgroundInterface $backgound
* The background object.
*/
public function setBackground(BackgroundInterface $backgound);
/**
* Sets the unique ID for this slide.
*
* @param int|string $id
* The unique ID.
*/
public function setUniqueId($id);
/**
* Sets the slide's autolink property to TRUE.
*/
public function enableAutolink();
/**
* Sets the slide's autolink property to FALSE.
*/
public function disableAutolink();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObjectInterface:: |
public | function | Creates an array representing the TimelineJS javascript object. | 7 |
SlideInterface:: |
public | function | Sets the slide's autolink property to FALSE. | 1 |
SlideInterface:: |
public | function | Sets the slide's autolink property to TRUE. | 1 |
SlideInterface:: |
public | function | Sets the background for this slide. | 1 |
SlideInterface:: |
public | function | Sets the display date for this slide. | 1 |
SlideInterface:: |
public | function | Sets the group for this slide. | 1 |
SlideInterface:: |
public | function | Sets the media for this slide. | 1 |
SlideInterface:: |
public | function | Sets the unique ID for this slide. | 1 |