Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 10.3.x for format
  4. Search 11.x for format
  5. Other projects
Title Object type File name Summary
ModerationInformationTest.php file core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
ModerationInformationTest::$moderationInformation property core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php The moderation information service.
ModerationInformationTest::$modules property core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Modules to enable.
ModerationInformationTest::getEntityTypeManager function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Returns a mock Entity Type Manager.
ModerationInformationTest::getUser function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Builds a mock user.
ModerationInformationTest::isDefaultRevisionPublishedTestCases function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Test cases for ::testIsDefaultRevisionPublished.
ModerationInformationTest::providerWorkflow function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Data provider for several tests.
ModerationInformationTest::setUp function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
ModerationInformationTest::setupModerationBundleInfo function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Sets up content moderation and entity manager mocking.
ModerationInformationTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getDefaultRevisionId
ModerationInformationTest::testGetLatestRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getLatestRevision
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableStorageInterface::getLatestRevisionId()…
ModerationInformationTest::testGetLatestRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getLatestRevisionId
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevisionId is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use…
ModerationInformationTest::testGetOriginalState function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getOriginalState
ModerationInformationTest::testGetOriginalStateMultilingual function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getOriginalState
ModerationInformationTest::testGetWorkflowForEntity function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @dataProvider providerWorkflow
@covers ::getWorkflowForEntity
ModerationInformationTest::testHasPendingRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::hasPendingRevision
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
ModerationInformationTest::testIsLatestRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isLatestRevision
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::isLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableInterface::isLatestRevision() instead. See…
ModerationInformationTest::testIsModeratedEntity function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @dataProvider providerWorkflow
@covers ::isModeratedEntity
ModerationInformationTest::testIsModeratedEntityType function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @covers ::isModeratedEntityType
ModerationInformationTest::testShouldModerateEntities function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @dataProvider providerWorkflow
@covers ::shouldModerateEntitiesOfBundle
ModerationStateConstraintValidator::$moderationInformation property core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php The moderation info.
ModerationStateWidget::$moderationInformation property core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Moderation information service.
ModuleTest::formatViewOptions function core/modules/views/tests/src/Kernel/ModuleTest.php Helper to return an expected views option array.
MonthDate::$argFormat property core/modules/views/src/Plugin/views/argument/MonthDate.php The date format used in the query.
MonthDate::$argFormat property core/modules/datetime/src/Plugin/views/argument/MonthDate.php The date format used in the query.
MonthDate::$format property core/modules/views/src/Plugin/views/argument/MonthDate.php The date format used in the title.
MysqlDateSql::getDateFormat function core/modules/views/src/Plugin/views/query/MysqlDateSql.php Creates a native database date formatting.
MysqlDateSqlTest::providerTestGetDateFormat function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Provider for date formatting test.
MysqlDateSqlTest::testGetDateFormat function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests date formatting replacement.
NegotiationMiddleware::$formats property core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php Contains a hashmap of format as key and mimetype as value.
NegotiationMiddleware::registerFormat function core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php Registers a format for a given MIME type.
NegotiationMiddlewareTest::testFormatViaQueryParameter function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Tests the specifying a format via query parameters gets used.
NegotiationMiddlewareTest::testSetFormat function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php @covers ::registerFormat
Node::$filterDefaultFormat property core/modules/node/src/Plugin/migrate/source/d6/Node.php The default filter format.
NodeAccessTest::$moderationInformation property core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php The moderation information service.
NodeController::$dateFormatter property core/modules/node/src/Controller/NodeController.php The date formatter service.
NodeEditFormTest::testNodeMetaInformation function core/modules/node/tests/src/Functional/NodeEditFormTest.php Tests the node meta information.
NodeForm::$dateFormatter property core/modules/node/src/NodeForm.php The date formatter service.
NodeHalJsonAnonTest::$format property core/modules/node/tests/src/Functional/Hal/NodeHalJsonAnonTest.php The format to use in this test.
NodeJsonAnonTest::$format property core/modules/node/tests/src/Functional/Rest/NodeJsonAnonTest.php The format to use in this test.
NodeJsonBasicAuthTest::$format property core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php The format to use in this test.
NodeJsonCookieTest::$format property core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php The format to use in this test.
NodeListBuilder::$dateFormatter property core/modules/node/src/NodeListBuilder.php The date formatter service.
NodeRevisionDeleteForm::$dateFormatter property core/modules/node/src/Form/NodeRevisionDeleteForm.php The date formatter service.
NodeRevisionRevertForm::$dateFormatter property core/modules/node/src/Form/NodeRevisionRevertForm.php The date formatter service.
NodeTypeHalJsonAnonTest::$format property core/modules/node/tests/src/Functional/Hal/NodeTypeHalJsonAnonTest.php The format to use in this test.
NodeTypeHalJsonBasicAuthTest::$format property core/modules/node/tests/src/Functional/Hal/NodeTypeHalJsonBasicAuthTest.php The format to use in this test.
NodeTypeHalJsonCookieTest::$format property core/modules/node/tests/src/Functional/Hal/NodeTypeHalJsonCookieTest.php The format to use in this test.

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