You are here

public function FieldHandlerBase::getHandlerSettings 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::getHandlerSettings()
  2. 2.0.x src/Plugin/FieldHandlerBase.php \Drupal\cms_content_sync\Plugin\FieldHandlerBase::getHandlerSettings()

Get the handler settings.

Return the actual form elements for any additional settings for this handler.

Parameters

array $current_values: The current values that the user set, if any

string $type:: One of 'pull', 'push', 'both'

Return value

array

Overrides FieldHandlerInterface::getHandlerSettings

1 call to FieldHandlerBase::getHandlerSettings()
DefaultLinkHandler::getHandlerSettings in src/Plugin/cms_content_sync/field_handler/DefaultLinkHandler.php
Get the handler settings.
3 methods override FieldHandlerBase::getHandlerSettings()
DefaultLinkHandler::getHandlerSettings in src/Plugin/cms_content_sync/field_handler/DefaultLinkHandler.php
Get the handler settings.
DefaultPanelizerHandler::getHandlerSettings in src/Plugin/cms_content_sync/field_handler/DefaultPanelizerHandler.php
Get the handler settings.
EntityReferenceHandlerBase::getHandlerSettings in src/Plugin/EntityReferenceHandlerBase.php
Get the handler settings.

File

src/Plugin/FieldHandlerBase.php, line 137

Class

FieldHandlerBase
Common base class for field handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

public function getHandlerSettings($current_values, $type = 'both') {

  // Nothing special here.
  return [];
}