summaryrefslogtreecommitdiffstats
path: root/core/modules/content_moderation/src/Entity
diff options
context:
space:
mode:
authorNathaniel Catchpole2017-07-28 07:33:41 (GMT)
committerNathaniel Catchpole2017-07-28 07:33:41 (GMT)
commitb77f378db7000da5c67b4d0792c77e7fb964c2bf (patch)
tree6094e2831402327e4ad6ef46963f7e3374919214 /core/modules/content_moderation/src/Entity
parent9586b37b0780e34b62c86860dd0f19ec624bb643 (diff)
Issue #2876419 by Sam152, timmillwood, plach: Review content_moderation module and mark code with @internal where necessary
Diffstat (limited to 'core/modules/content_moderation/src/Entity')
-rw-r--r--core/modules/content_moderation/src/Entity/ContentModerationState.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/content_moderation/src/Entity/ContentModerationState.php b/core/modules/content_moderation/src/Entity/ContentModerationState.php
index 5b1c250..39b0ff4 100644
--- a/core/modules/content_moderation/src/Entity/ContentModerationState.php
+++ b/core/modules/content_moderation/src/Entity/ContentModerationState.php
@@ -39,6 +39,11 @@ use Drupal\user\UserInterface;
* "langcode" = "langcode",
* }
* )
+ *
+ * @internal
+ * This entity is marked internal because it should not be used directly to
+ * alter the moderation state of an entity. Instead, the computed
+ * moderation_state field should be set on the entity directly.
*/
class ContentModerationState extends ContentEntityBase implements ContentModerationStateInterface {