X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FTypedData%2FDataDefinitionInterface.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FTypedData%2FDataDefinitionInterface.php;h=d12ccfdef23368e1dd152e94550bcefd8513a621;hp=64d779c317b91ad0bc6bd94ce77bd6c56b65c7b5;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php b/web/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php index 64d779c31..d12ccfdef 100644 --- a/web/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php +++ b/web/core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php @@ -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(); + }