Existing.php

Same filename and directory in other branches
  1. 10 core/lib/Drupal/Core/DefaultContent/Existing.php

Namespace

Drupal\Core\DefaultContent

File

core/lib/Drupal/Core/DefaultContent/Existing.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\DefaultContent;


/**
 * Defines what to do if importing an entity that already exists (by UUID).
 *
 * @internal
 *   This API is experimental.
 */
enum Existing
{
  case Error;
  case Skip;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.