Search for first

  1. Search 7.x for first
  2. Search 9.5.x for first
  3. Search 10.3.x for first
  4. Search 11.x for first
  5. Other projects
Title Object type File name Summary
BackendChainImplementationUnitTest::$firstBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php First backend in the chain.
ChainEntityResolverTest::testResolverWithFirstResolved function core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php Test the resolve method with a matching resolver first.
ChainRequestPolicyTest::testStopChainOnFirstDeny function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Asserts that check() returns immediately when a rule returned DENY.
ChainResponsePolicyTest::testStopChainOnFirstDeny function core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php Asserts that check() returns immediately when a rule returned DENY.
ConfigImporterTest::testSecondaryUpdateDeletedDeleteeFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary updates for deleted files work as expected.
ConfigImporterTest::testSecondaryUpdateDeletedDeleterFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary updates for deleted files work as expected.
ConfigImporterTest::testSecondaryWritePrimaryFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary writes are overwritten.
ConfigImporterTest::testSecondaryWriteSecondaryFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary writes are overwritten.
ConfigOtherModuleTest::testInstallConfigEntityModuleFirst function core/modules/config/tests/src/Functional/ConfigOtherModuleTest.php Tests enabling the provider of the config entity type first.
ConfigOtherModuleTest::testInstallOtherModuleFirst function core/modules/config/tests/src/Functional/ConfigOtherModuleTest.php Tests enabling the provider of the default configuration first.
DatabaseTestController::testTablesortFirst function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Runs a tablesort query with a second order_by after and returns the results.
DependentAccessTest::providerTestSetFirst function core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php Dataprovider for all test methods.
EntityResourceTestBase::$firstCreatedEntityId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity ID for the first created entity in testPost().
ForumManager::LEAST_POPULAR_FIRST constant core/modules/forum/src/ForumManager.php Forum sort order, posts with the least comments first.
ForumManager::MOST_POPULAR_FIRST constant core/modules/forum/src/ForumManager.php Forum sort order, posts with most comments first.
ForumManager::NEWEST_FIRST constant core/modules/forum/src/ForumManager.php Forum sort order, newest first.
ForumManager::OLDEST_FIRST constant core/modules/forum/src/ForumManager.php Forum sort order, oldest first.
Graph::depthFirstSearch function core/lib/Drupal/Component/Graph/Graph.php Performs a depth-first search on a graph.
GraphTest::testDepthFirstSearch function core/tests/Drupal/Tests/Component/Graph/GraphTest.php Test depth-first-search features.
InfoParserDynamic::FIRST_CORE_VERSION_REQUIREMENT_SUPPORTED_VERSION constant core/lib/Drupal/Core/Extension/InfoParserDynamic.php The earliest Drupal version that supports the 'core_version_requirement'.
ItemList::first function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php Returns the first item in this list.
LinkFieldUITest::$firstContentType property core/modules/link/tests/src/Functional/LinkFieldUITest.php The first content type to add fields to.
ListInterface::first function core/lib/Drupal/Core/TypedData/ListInterface.php Returns the first item in this list.
MigrateUpgradeFormStepsTest::assertFirstForm function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php Helper to test that a path goes to the Overview form.
ModerationInformation::isFirstTimeModeration function core/modules/content_moderation/src/ModerationInformation.php Determines if this entity is being moderated for the first time.
PathAliasResourceTestBase::$firstCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the first created entity in testPost().
RandomTest::$firstStringGenerated property core/tests/Drupal/Tests/Component/Utility/RandomTest.php The first random string passed to the test callback.
RenderPlaceholderMessageTestController::messagesPlaceholderFirst function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
ResourceTestBase::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the first created entity in testPost().
SelectTableSortDefaultTest::testTableSortQueryFirst function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms precedence of tablesorts headers.
TextSummaryTest::testFirstSentenceQuestion function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests an edge case where the first sentence is a question and
subsequent sentences are not. This edge case is documented at
https://www.drupal.org/node/180425.
Unicode::lcfirst function core/lib/Drupal/Component/Utility/Unicode.php Converts the first character of a UTF-8 string to lowercase.
Unicode::ucfirst function core/lib/Drupal/Component/Utility/Unicode.php Capitalizes the first character of a UTF-8 string.
UnicodeTest::providerLcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Data provider for testLcfirst().
UnicodeTest::providerUcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Data provider for testUcfirst().
UnicodeTest::testLcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte lcfirst.
UnicodeTest::testUcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte ucfirst.
update_test_failing_post_update_first function core/modules/system/tests/modules/update_test_failing/update_test_failing.post_update.php First update, should not be run since this module's update hooks fail.
update_test_postupdate_post_update_first function core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php First update.
UserResourceTestBase::$firstCreatedEntityId property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The entity ID for the first created entity in testPost().
UserTest::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/UserTest.php The entity ID for the first created entity in testPost().
ViewsDataTest::testGetOnFirstCall function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests fetching all the views data without a static cache.
WorkspaceResourceTestBase::$firstCreatedEntityId property core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php The entity ID for the first created entity in testPost().
_system_test_first_shutdown_function function core/modules/system/tests/modules/system_test/system_test.module Dummy shutdown function which registers another shutdown function.

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