public function FieldHandlerBase::getAllowedPushOptions in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/FieldHandlerBase.php \Drupal\cms_content_sync\Plugin\FieldHandlerBase::getAllowedPushOptions()
- 2.0.x src/Plugin/FieldHandlerBase.php \Drupal\cms_content_sync\Plugin\FieldHandlerBase::getAllowedPushOptions()
Get the allowed push options.
Get a list of all allowed push options for this field. You can either allow {{{
Return value
string[]
Overrides FieldHandlerInterface::getAllowedPushOptions
See also
PushIntent::PUSH_DISABLED} or
PushIntent::PUSH_DISABLED} and
PushIntent::PUSH_AUTOMATICALLY}.
File
- src/
Plugin/ FieldHandlerBase.php, line 114
Class
- FieldHandlerBase
- Common base class for field handler plugins.
Namespace
Drupal\cms_content_sync\PluginCode
public function getAllowedPushOptions() {
return [
PushIntent::PUSH_DISABLED,
PushIntent::PUSH_AUTOMATICALLY,
];
}