You are here

public static function VideoUploadWidget::process in Video 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/VideoUploadWidget.php \Drupal\video\Plugin\Field\FieldWidget\VideoUploadWidget::process()

Form API callback: Processes a video_upload field element.

This method is assigned as a #process callback in formElement() method.

Overrides FileWidget::process

File

src/Plugin/Field/FieldWidget/VideoUploadWidget.php, line 275

Class

VideoUploadWidget
Plugin implementation of the 'video_upload' widget.

Namespace

Drupal\video\Plugin\Field\FieldWidget

Code

public static function process($element, FormStateInterface $form_state, $form) {
  return parent::process($element, $form_state, $form);
}