Search for publish

  1. Search 7.x for publish
  2. Search 9.5.x for publish
  3. Search 10.3.x for publish
  4. Search 11.x for publish
  5. Other projects
Title Object type File name Summary
BookTest::testBookNavigationBlockOnUnpublishedBook function core/modules/book/tests/src/Functional/BookTest.php Tests the book navigation block when book is unpublished.
CommentAccessTest::$unpublishedNode property core/modules/comment/tests/src/Functional/CommentAccessTest.php Node for commenting.
CommentActionsTest::testCommentPublishUnpublishActions function core/modules/comment/tests/src/Functional/CommentActionsTest.php Tests comment publish and unpublish actions.
CommentActionsTest::testCommentUnpublishByKeyword function core/modules/comment/tests/src/Functional/CommentActionsTest.php Tests the unpublish comment by keyword action.
CommentInterface::NOT_PUBLISHED constant core/modules/comment/src/CommentInterface.php Comment is awaiting approval.
CommentInterface::PUBLISHED constant core/modules/comment/src/CommentInterface.php Comment is published.
CommentTranslationUITest::doTestPublishedStatus function core/modules/comment/tests/src/Functional/CommentTranslationUITest.php Tests the translation publishing status.
CommentUpdateTest::testPublishedEntityKey function core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php Tests that the comment entity type has a 'published' entity key.
CommonCollectionFilterAccessTestPatternsTrait::doTestCollectionFilterAccessForPublishableEntities function core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php Implements ::testCollectionFilterAccess() for permission + status access.
ContentModerationState::$published property core/modules/content_moderation/src/ContentModerationState.php If entities should be published if in this state.
ContentModerationState::isPublishedState function core/modules/content_moderation/src/ContentModerationState.php Determines if entities should be published if in this state.
ContentModerationTest::$userViewAnyUnpublished property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php User with the 'view media' and 'view any unpublished content' permissions.
ContentModerationTest::$userViewOwnUnpublished property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php User with the 'view media' and 'view own unpublished media' permissions.
ContentModerationTest::assertOnlyPublishedMedia function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Asserts only published media items are visible.
ContentTranslationHandler::hasPublishedStatus function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports published status natively.
ContentTranslationMetadataWrapper::isPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation published status.
ContentTranslationMetadataWrapper::setPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation published status.
ContentTranslationMetadataWrapperInterface::isPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation published status.
ContentTranslationMetadataWrapperInterface::setPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Sets the translation published status.
ContentTranslationUITestBase::doTestPublishedStatus function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Tests the translation publishing status.
ContentTranslationUITestBase::doTestPublishedStatus function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the translation publishing status.
DefaultModerationStateTest::testPublishedDefaultState function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Test a workflow with a default moderation state set.
drupal-8.taxonomy-term-publishing-status-ui-2899923.php file core/modules/taxonomy/tests/fixtures/update/drupal-8.taxonomy-term-publishing-status-ui-2899923.php Contains database additions to drupal-8.filled.standard.php.gz for testing
the upgrade path of https://www.drupal.org/project/drupal/issues/2899923.
drupal-8.views-taxonomy-term-publishing-status-2981887.php file core/modules/taxonomy/tests/fixtures/update/drupal-8.views-taxonomy-term-publishing-status-2981887.php Contains database additions to drupal-8.filled.standard.php.gz for testing
the upgrade path of https://www.drupal.org/project/drupal/issues/2981887.
EntityOperations::isPublished function core/modules/content_moderation/src/EntityOperations.php Checks if the entity is published.
EntityOperationsTest::testPublishedCreation function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that a newly-created node can go straight to published.
EntityPublishedActionDeriver class core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php Provides an action deriver that finds publishable entity types.
EntityPublishedActionDeriver.php file core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php
EntityPublishedActionDeriver::isApplicable function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php Indicates whether the deriver can be used for the provided entity type.
EntityPublishedInterface interface core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Provides an interface for access to an entity's published state.
EntityPublishedInterface.php file core/lib/Drupal/Core/Entity/EntityPublishedInterface.php
EntityPublishedInterface::isPublished function core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Returns whether or not the entity is published.
EntityPublishedInterface::setPublished function core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Sets the entity as published.
EntityPublishedInterface::setUnpublished function core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Sets the entity as unpublished.
EntityPublishedTrait trait core/lib/Drupal/Core/Entity/EntityPublishedTrait.php Provides a trait for published status.
EntityPublishedTrait.php file core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityPublishedTrait::isPublished function core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityPublishedTrait::publishedBaseFieldDefinitions function core/lib/Drupal/Core/Entity/EntityPublishedTrait.php Returns an array of base field definitions for publishing status.
EntityPublishedTrait::setPublished function core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityPublishedTrait::setUnpublished function core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityUpdateToPublishableTest class core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Tests the upgrade path for making an entity publishable.
EntityUpdateToPublishableTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php
EntityUpdateToPublishableTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The theme to install as the default for testing.
EntityUpdateToPublishableTest::$entityDefinitionUpdateManager property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The entity definition update manager.
EntityUpdateToPublishableTest::$entityTypeManager property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The entity type manager service.
EntityUpdateToPublishableTest::$installedStorageSchema property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The key-value collection for tracking installed storage schema.
EntityUpdateToPublishableTest::$lastInstalledSchemaRepository property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The last installed schema repository service.
EntityUpdateToPublishableTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The state service.
EntityUpdateToPublishableTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Set database dump files to be used.
EntityUpdateToPublishableTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Overrides WebTestBase::setUp() for update testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.