You are here

public function FieldHandlerBase::validateHandlerSettings in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/FieldHandlerBase.php \Drupal\cms_content_sync\Plugin\FieldHandlerBase::validateHandlerSettings()
  2. 2.0.x src/Plugin/FieldHandlerBase.php \Drupal\cms_content_sync\Plugin\FieldHandlerBase::validateHandlerSettings()

Validate the settings defined above. $form and $form_state are the same as in the Form API.

Parameters

string $settings_key:

array $current_values:

Return value

mixed

Overrides FieldHandlerInterface::validateHandlerSettings

1 method overrides FieldHandlerBase::validateHandlerSettings()
EntityReferenceHandlerBase::validateHandlerSettings in src/Plugin/EntityReferenceHandlerBase.php
Validate the settings defined above. $form and $form_state are the same as in the Form API.

File

src/Plugin/FieldHandlerBase.php, line 146

Class

FieldHandlerBase
Common base class for field handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

public function validateHandlerSettings(array &$form, FormStateInterface $form_state, string $entity_type_name, string $bundle_name, string $field_name, $current_values) {

  // No settings means no validation.
}