You are here

constant RenderedFlags::ERROR_DESCRIPTION in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 modules/cms_content_sync_views/src/Plugin/views/field/RenderedFlags.php \Drupal\cms_content_sync_views\Plugin\views\field\RenderedFlags::ERROR_DESCRIPTION
  2. 2.1.x modules/cms_content_sync_views/src/Plugin/views/field/RenderedFlags.php \Drupal\cms_content_sync_views\Plugin\views\field\RenderedFlags::ERROR_DESCRIPTION

File

modules/cms_content_sync_views/src/Plugin/views/field/RenderedFlags.php, line 49

Class

RenderedFlags
Views Field handler to check if a entity is pulled.

Namespace

Drupal\cms_content_sync_views\Plugin\views\field

Code

const ERROR_DESCRIPTION = [
  PushIntent::PUSH_FAILED_REQUEST_FAILED => 'Sync Core not available',
  PushIntent::PUSH_FAILED_REQUEST_INVALID_STATUS_CODE => 'invalid status code',
  PushIntent::PUSH_FAILED_INTERNAL_ERROR => 'Drupal API error',
  PushIntent::PUSH_FAILED_DEPENDENCY_PUSH_FAILED => 'dependency failed to push',
  PushIntent::PUSH_FAILED_HANDLER_DENIED => 'as configured',
  PushIntent::PUSH_FAILED_UNCHANGED => 'no changes',
  PullIntent::PULL_FAILED_DIFFERENT_VERSION => 'different version',
  PullIntent::PULL_FAILED_CONTENT_SYNC_ERROR => 'module failure',
  PullIntent::PULL_FAILED_INTERNAL_ERROR => 'Drupal API failure',
  PullIntent::PULL_FAILED_UNKNOWN_POOL => 'unknown Pool',
  PullIntent::PULL_FAILED_NO_FLOW => 'no matching Flow',
];