You are here

public function DefaultMenuLinkContentHandler::getAllowedPreviewOptions in CMS Content Sync 2.1.x

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

Return value

string[] Provide the allowed preview options used for display when manually pulling entities

Overrides EntityHandlerInterface::getAllowedPreviewOptions

File

src/Plugin/cms_content_sync/entity_handler/DefaultMenuLinkContentHandler.php, line 40

Class

DefaultMenuLinkContentHandler
Class DefaultMenuLinkContentHandler, providing a minimalistic implementation for menu items, making sure they're referenced correctly by UUID.

Namespace

Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler

Code

public function getAllowedPreviewOptions() {
  return [
    'table' => 'Table',
  ];
}