You are here

public function VideoFilter::preview in Video Filter 8

Generate preview HTML for a [video] token in CKEditor.

1 string reference to 'VideoFilter::preview'
video_filter.routing.yml in ./video_filter.routing.yml
video_filter.routing.yml

File

src/Controller/VideoFilter.php, line 15

Class

VideoFilter
Returns responses for Video Filter module routes.

Namespace

Drupal\video_filter\Controller

Code

public function preview($format = '', $token = '') {
  echo $token;
  exit;
}