Overrides ParagraphsBehaviorBase::validateConfigurationForm
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
if (!$form_state
->getValue('field_name')) {
$form_state
->setErrorByName('message', $this
->t('The Slider plugin cannot be enabled if there is no field to be mapped.'));
}
}