Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Config / Entity / ConfigEntityTypeInterface.php
index 589a63d2c157263f8669752e019f283b6ae47f28..de4b1e1a0f6892d3359db47b334be5d3e2cfb41b 100644 (file)
@@ -65,11 +65,18 @@ interface ConfigEntityTypeInterface extends EntityTypeInterface {
   /**
    * Gets the config entity properties to export if declared on the annotation.
    *
+   * Falls back to determining the properties using configuration schema, if the
+   * config entity properties are not declared.
+   *
+   * @param string $id
+   *   The ID of the configuration entity. Used when checking schema instead of
+   *   the annotation.
+   *
    * @return array|null
    *   The properties to export or NULL if they can not be determine from the
-   *   config entity type annotation.
+   *   config entity type annotation or the schema.
    */
-  public function getPropertiesToExport();
+  public function getPropertiesToExport($id = NULL);
 
   /**
    * Gets the keys that are available for fast lookup.