You are here

function video_embed_field_handler_youtube_form_validate in Video Embed Field 7.2

Validates the form elements for the Youtube configuration form.

Parameters

array $element: The form element to validate.

array $form_state: The form to validate state.

array $form: The form to validate structure.

2 string references to 'video_embed_field_handler_youtube_form_validate'
video_embed_facebook_video_embed_handler_info in video_embed_facebook/video_embed_facebook.module
Implements hook_video_embed_handler_info().
video_embed_field_video_embed_handler_info in ./video_embed_field.handlers.inc
Implements hook_video_embed_handler_info().

File

./video_embed_field.handlers.inc, line 443
Provide some handlers for video embed field Other modules can implement the hook_video_embed_handler_info to provide more handlers.

Code

function video_embed_field_handler_youtube_form_validate($element, &$form_state, $form) {
  video_embed_field_validate_dimensions($element);
}