You are here

public function EntityHandlerBase::getAllowedPushOptions in CMS Content Sync 8

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

Get the allowed push options.

Get a list of all allowed push options for this entity.

Return value

string[]

Overrides EntityHandlerInterface::getAllowedPushOptions

See also

Flow::PUSH_*

4 methods override EntityHandlerBase::getAllowedPushOptions()
DefaultCropHandler::getAllowedPushOptions in src/Plugin/cms_content_sync/entity_handler/DefaultCropHandler.php
Get the allowed push options.
DefaultFieldCollectionItemHandler::getAllowedPushOptions in src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php
Get the allowed push options.
DefaultNodeHandler::getAllowedPushOptions in src/Plugin/cms_content_sync/entity_handler/DefaultNodeHandler.php
Get the allowed push options.
DefaultTaxonomyHandler::getAllowedPushOptions in src/Plugin/cms_content_sync/entity_handler/DefaultTaxonomyHandler.php
Get the allowed push options.

File

src/Plugin/EntityHandlerBase.php, line 100

Class

EntityHandlerBase
Common base class for entity handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

public function getAllowedPushOptions() {
  return [
    PushIntent::PUSH_DISABLED,
    PushIntent::PUSH_AUTOMATICALLY,
    PushIntent::PUSH_AS_DEPENDENCY,
    PushIntent::PUSH_MANUALLY,
  ];
}