public function DefaultCropHandler::getAllowedPreviewOptions in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/cms_content_sync/entity_handler/DefaultCropHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultCropHandler::getAllowedPreviewOptions()
- 2.0.x src/Plugin/cms_content_sync/entity_handler/DefaultCropHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultCropHandler::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/ DefaultCropHandler.php, line 106
Class
- DefaultCropHandler
- Class DefaultCropHandler, providing a minimalistic implementation for the crop entity type.
Namespace
Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handlerCode
public function getAllowedPreviewOptions() {
return [
'table' => 'Table',
'preview_mode' => 'Preview mode',
];
}