You are here

public function FieldHandlerBase::getAllowedPullOptions in CMS Content Sync 8

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

Get the allowed pull options.

Get a list of all allowed pull options for this field. You can either allow {{{

Return value

string[]

Overrides FieldHandlerInterface::getAllowedPullOptions

See also

PullIntent::PULL_DISABLED} or

PullIntent::PULL_DISABLED} and

PullIntent::PULL_AUTOMATICALLY}.

File

src/Plugin/FieldHandlerBase.php, line 125

Class

FieldHandlerBase
Common base class for field handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

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