public function NullSegmenter::validateFormTranslation

Validate the segments from the JobItemForm.

If the form does not validate, it will add the error to the $element.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: A string with the XML serialized data.

array $element: The translation element of the form.

\Drupal\tmgmt\JobItemInterface $job_item: The Job Item.

Overrides SegmenterInterface::validateFormTranslation

File

src/NullSegmenter.php, line 36

Class

NullSegmenter
Null implementation for the SegmenterInterface.

Namespace

Drupal\tmgmt

Code

public function validateFormTranslation(FormStateInterface &$form_state, $element, JobItemInterface $job_item) {
}