public function ParagraphsConversionBase::validateConversionForm

Validates the conversion fields form.

This method is responsible for validating the data in the conversion fields form and displaying validation messages.

Parameters

\Drupal\paragraphs\ParagraphInterface $paragraph: The paragraph.

array $form: An associative array containing the initial structure of the plugin form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides ParagraphsConversionInterface::validateConversionForm

File

paragraphs/src/ParagraphsConversionBase.php, line 94

Class

ParagraphsConversionBase
Provides a base class for paragraphs conversions.

Namespace

Drupal\paragraphs

Code

public function validateConversionForm(ParagraphInterface $paragraph, array &$form, FormStateInterface $form_state) {
}