You are here

public function DefaultCropHandler::getAllowedPullOptions in CMS Content Sync 2.1.x

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

Get the allowed pull options.

Get a list of all allowed pull options for this field.

Return value

string[]

Overrides EntityHandlerBase::getAllowedPullOptions

See also

Flow::PULL_*

File

src/Plugin/cms_content_sync/entity_handler/DefaultCropHandler.php, line 56

Class

DefaultCropHandler
Class DefaultCropHandler, providing a minimalistic implementation for the crop entity type.

Namespace

Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler

Code

public function getAllowedPullOptions() {
  return [
    PullIntent::PULL_DISABLED,
    PullIntent::PULL_AS_DEPENDENCY,
  ];
}