Commit b77f378d authored by catch's avatar catch
Browse files

Issue #2876419 by Sam152, timmillwood, plach: Review content_moderation module...

Issue #2876419 by Sam152, timmillwood, plach: Review content_moderation module and mark code with @internal where necessary
parent 9586b37b
Loading
Loading
Loading
Loading
+2 −0
Changes for core/modules/content_moderation/src/ContentModerationStateInterface.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
 *
 * Content moderation state entities track the moderation state of other content
 * entities.
 *
 * @internal
 */
interface ContentModerationStateInterface extends ContentEntityInterface, EntityOwnerInterface {

+2 −0
Changes for core/modules/content_moderation/src/ContentPreprocess.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@

/**
 * Determines whether a route is the "Latest version" tab of a node.
 *
 * @internal
 */
class ContentPreprocess implements ContainerInjectionInterface {

+5 −0
Changes for core/modules/content_moderation/src/Entity/ContentModerationState.php: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@
 *     "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 {

+2 −0
Changes for core/modules/content_moderation/src/EntityOperations.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@

/**
 * Defines a class for reacting to entity events.
 *
 * @internal
 */
class EntityOperations implements ContainerInjectionInterface {

+2 −0
Changes for core/modules/content_moderation/src/EntityTypeInfo.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
 *
 * This class contains primarily bridged hooks for compile-time or
 * cache-clear-time hooks. Runtime hooks should be placed in EntityOperations.
 *
 * @internal
 */
class EntityTypeInfo implements ContainerInjectionInterface {

Loading