You are here

function scheduler_form_language_content_settings_form_alter in Scheduler 8

Same name and namespace in other branches
  1. 2.x scheduler.module \scheduler_form_language_content_settings_form_alter()

Implements hook_form_FORM_ID_alter() for language_content_settings_form.

File

./scheduler.module, line 315
Scheduler publishes and unpublishes nodes on dates specified by the user.

Code

function scheduler_form_language_content_settings_form_alter(array &$form, FormStateInterface $form_state) {

  // Add our validation function for the translation field settings form at
  // admin/config/regional/content-language.
  $form['#validate'][] = '_scheduler_translation_validate';
}