public function SegmenterInterface::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.

1 method overrides SegmenterInterface::validateFormTranslation()
NullSegmenter::validateFormTranslation in src/NullSegmenter.php
Validate the segments from the JobItemForm.

File

src/SegmenterInterface.php, line 87

Class

SegmenterInterface
This interface offers a suite of methods to add segments and filter data.

Namespace

Drupal\tmgmt

Code

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