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
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.
JSONAPI_FILTER_AMONG_PUBLISHED constant core/modules/jsonapi/jsonapi.module Array key for denoting type-based published-only filtering access.
MediaAccessTest::testUnpublishedMediaUserAccess function core/modules/media/tests/src/Functional/MediaAccessTest.php Tests unpublished media access.
MediaEmbedFilterTest::providerAccessUnpublished function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testAccessUnpublished().
MediaEmbedFilterTest::testAccessUnpublished function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests that entity access is respected by embedding an unpublished entity.
MenuLinkContentUpdateTest::testPublishedEntityKeyAddition function core/modules/menu_link_content/tests/src/Functional/Update/MenuLinkContentUpdateTest.php Tests the addition of the publishing status entity key.
MenuUiTest::testUnpublishedNodeMenuItem function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests that menu items pointing to unpublished nodes are editable.
ModerationInformation::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformation.php Determines if the default revision for the given entity is published.
ModerationInformationInterface::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if the default revision for the given entity is published.
ModerationInformationTest::isDefaultRevisionPublishedTestCases function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Test cases for ::testIsDefaultRevisionPublished.
ModerationInformationTest::testIsDefaultRevisionPublished function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
@dataProvider isDefaultRevisionPublishedTestCases
ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
ModerationOptOutPublish class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutPublish.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php
ModerationOptOutPublish::$bundleInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Bundle info service.
ModerationOptOutPublish::$messenger property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Messenger service.
ModerationOptOutPublish::$moderationInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Moderation information service.
ModerationOptOutPublish::access function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Checks object access.
ModerationOptOutPublish::create function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Creates an instance of the plugin.
ModerationOptOutPublish::__construct function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php ModerationOptOutPublish constructor.
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.
ModerationOptOutUnpublish class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutUnpublish.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php
ModerationOptOutUnpublish::$bundleInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Bundle info service.
ModerationOptOutUnpublish::$messenger property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Messenger service.
ModerationOptOutUnpublish::$moderationInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Moderation information service.
ModerationOptOutUnpublish::access function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Checks object access.
ModerationOptOutUnpublish::create function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Creates an instance of the plugin.
ModerationOptOutUnpublish::__construct function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php ModerationOptOutUnpublish 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.
NodeCreationTest::testUnpublishedNodeCreation function core/modules/node/tests/src/Functional/NodeCreationTest.php Creates an unpublished node and confirms correct redirect behavior.
NodeInterface::NOT_PUBLISHED constant core/modules/node/src/NodeInterface.php Denotes that the node is not published.
NodeInterface::PUBLISHED constant core/modules/node/src/NodeInterface.php Denotes that the node is published.
NodeTranslationUITest::doTestPublishedStatus function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Tests the translation publishing status.
NodeTranslationUITest::testPublishedStatusNoFields function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Tests changing the published status on a node without fields.
NodeUpdateTest::testPublishedEntityKey function core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php Tests that the node entity type has a 'published' entity key.
NODE_NOT_PUBLISHED constant core/modules/node/node.module Denotes that the node is not published.
node_post_update_glossary_view_published function core/modules/node/node.post_update.php Add a published filter to the glossary View.
NODE_PUBLISHED constant core/modules/node/node.module Denotes that the node is published.
ProfileTranslationHandler::hasPublishedStatus function core/modules/user/src/ProfileTranslationHandler.php Checks whether the entity type supports published status natively.
PublishAction class core/lib/Drupal/Core/Action/Plugin/Action/PublishAction.php Publishes an entity.
PublishAction.php file core/lib/Drupal/Core/Action/Plugin/Action/PublishAction.php
PublishAction::access function core/lib/Drupal/Core/Action/Plugin/Action/PublishAction.php Checks object access.
PublishAction::execute function core/lib/Drupal/Core/Action/Plugin/Action/PublishAction.php Executes the plugin.
PublishActionTest class core/tests/Drupal/KernelTests/Core/Action/PublishActionTest.php @group Action

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