diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php index 07917e7..9b33764 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php @@ -82,11 +82,19 @@ public function setSyncing($status); public function status(); /** - * Returns whether the configuration entity is created, updated or deleted - * through the import process. + * Returns if this entity is changed as part of an import process. + * + * Code that changes configuration based on new, changed or deleted + * configuration entities must check this flag and only be executed if it is + * FALSE. + * + * An example is the default body field that is created when a new content + * type is created. If that creation happens as part of a configuration sync, + * the default body field will either be explicitly created or has been + * removed. * * @return bool - * Whether the configuration entity is created, updated or deleted through + * TRUE if the configuration entity is created, updated or deleted through * the import process. */ public function isSyncing();