Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / TypedData / DataDefinitionInterface.php
index 64d779c317b91ad0bc6bd94ce77bd6c56b65c7b5..d12ccfdef23368e1dd152e94550bcefd8513a621 100644 (file)
@@ -218,4 +218,15 @@ interface DataDefinitionInterface {
    */
   public function addConstraint($constraint_name, $options = NULL);
 
+  /**
+   * Determines whether the data value is internal.
+   *
+   * This can be used in a scenario when it is not desirable to expose this data
+   * value to an external system.
+   *
+   * @return bool
+   *   Whether the data value is internal.
+   */
+  public function isInternal();
+
 }