public function FlickrSlideshows::options in Video Filter 8
Embed options. (e.g. Autoplay, Width/Height).
Uses Drupal's Form API.
Overrides VideoFilterBase::options
File
- src/
Plugin/ VideoFilter/ FlickrSlideshows.php, line 40
Class
- FlickrSlideshows
- Provides FlickrSlideshows codec for Video Filter.
Namespace
Drupal\video_filter\Plugin\VideoFilterCode
public function options() {
$form = parent::options();
$form['autoplay'] = [
'#title' => $this
->t('Autoplay (optional)'),
'#type' => 'checkbox',
];
return $form;
}