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
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.
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/src/Tests/ContentTranslationUITestBase.php Tests the translation publishing status.
ContentTranslationUITestBase::doTestPublishedStatus function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Tests the translation publishing status.
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.
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.
EntityUpdateToPublishableTest::testConvertToPublishable function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Tests the conversion of an entity type to be publishable.
EntityUpdateToPublishableTest::updateEntityTypeDefinition function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Updates the 'entity_test_update' entity type to translatable and
publishable.
MenuLinkContentUpdateTest::testPublishedEntityKeyAddition function core/modules/menu_link_content/tests/src/Functional/Update/MenuLinkContentUpdateTest.php Tests the addition of the publishing status entity key.
ModerationOptOutPublishNode class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutPublishNode.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.php
ModerationOptOutPublishNode::__construct function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.php ModerationOptOutPublish constructor.
ModerationOptOutUnpublishNode class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublishNode.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutUnpublishNode.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublishNode.php
ModerationOptOutUnpublishNode::__construct function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublishNode.php ModerationOptOutUnpublish constructor.
NodeUpdateTest::testPublishedEntityKey function core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php Tests that the node entity type has a 'published' entity key.

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