Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentModerationState.php

function ContentModerationState::isPublishedState

Determines if entities should be published if in this state.

Return value

bool

File

core/modules/content_moderation/src/ContentModerationState.php, line 59

Class

ContentModerationState
A value object representing a workflow state for content moderation.

Namespace

Drupal\content_moderation

Code

public function isPublishedState() {
    return $this->published;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal