You are here

public function EntityHandlerInterface::validateHandlerSettings in CMS Content Sync 8

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

Validate the settings defined above. $form and $form_state are the same as in the Form API. $settings_key is the index at $form['sync_entities'] for this handler instance.

Parameters

$settings_key:

$current_values:

Return value

mixed

1 method overrides EntityHandlerInterface::validateHandlerSettings()
EntityHandlerBase::validateHandlerSettings in src/Plugin/EntityHandlerBase.php
Validate the settings defined above. $form and $form_state are the same as in the Form API. $settings_key is the index at $form['sync_entities'] for this handler instance.

File

src/Plugin/EntityHandlerInterface.php, line 88

Class

EntityHandlerInterface
Specifies the publicly available methods of an entity handler plugin that can be used to push and pull entities with Sync Core.

Namespace

Drupal\cms_content_sync\Plugin

Code

public function validateHandlerSettings(array &$form, FormStateInterface $form_state, $settings_key, $current_values);