0

I have a D8 content type with content moderation (draft,published, in-progress). I created a computed text field (my_computed_field) and want to add the current moderation state in the field.

  • For what purpose? Each moderated entity already has a computed field that contains the moderation state, why duplicate that? $entity->moderation_state->value – Berdir Dec 11 '18 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.