public function EntityHandlerBase::validateHandlerSettings in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::validateHandlerSettings()
- 2.1.x src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::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
Overrides EntityHandlerInterface::validateHandlerSettings
File
- src/
Plugin/ EntityHandlerBase.php, line 159
Class
- EntityHandlerBase
- Common base class for entity handler plugins.
Namespace
Drupal\cms_content_sync\PluginCode
public function validateHandlerSettings(array &$form, FormStateInterface $form_state, $settings_key, $current_values) {
// No settings means no validation.
}