You are here

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

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

Get the allowed pull options.

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

Return value

string[]

Overrides EntityHandlerInterface::getAllowedPullOptions

See also

Flow::PULL_*

2 methods override EntityHandlerBase::getAllowedPullOptions()
DefaultCropHandler::getAllowedPullOptions in src/Plugin/cms_content_sync/entity_handler/DefaultCropHandler.php
Get the allowed pull options.
DefaultFieldCollectionItemHandler::getAllowedPullOptions in src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php
Get the allowed pull options.

File

src/Plugin/EntityHandlerBase.php, line 114

Class

EntityHandlerBase
Common base class for entity handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

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