Search for first

  1. Search 7.x for first
  2. Search 9.5.x for first
  3. Search 8.9.x for first
  4. Search 10.3.x for first
  5. Other projects
Title Object type File name Summary
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 Tests depth-first-search features.
HookCollectorPassTest::testHookFirst function core/tests/Drupal/KernelTests/Core/Hook/HookCollectorPassTest.php Tests hook ordering with attributes.
HookOrder::first function core/lib/Drupal/Core/Hook/HookOrder.php Set a hook implementation to be first.
HookOrderEqualPriorityTest::testFirst function core/tests/Drupal/Tests/Core/Hook/HookOrderEqualPriorityTest.php @covers ::first
HookOrderTest::testFirst function core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php @covers ::first
HookOrderTest::testFirstNoChange function core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php @covers ::first
ItemList::first function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
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
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.
TestHookFirst class core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookFirst.php This class contains hook implementations.
TestHookFirst class core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookFirst.php This class contains hook implementations.
TestHookFirst.php file core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookFirst.php
TestHookFirst.php file core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookFirst.php
TestHookFirst::hookFirst function core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookFirst.php This pair tests OrderFirst.
TestHookFirst::hookFirst function core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookFirst.php This pair tests OrderFirst.
TestHookReorderHookFirst class core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookReorderHookFirst.php This class contains hook implementations.
TestHookReorderHookFirst.php file core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookReorderHookFirst.php
TestHookReorderHookFirst::customHookOverride function core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookReorderHookFirst.php This pair tests ReorderHook.
TextSummaryTest::testFirstSentenceQuestion function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries for a question followed by a sentence.
TransactionTest::createFirstSavepointTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Create a Drupal savepoint transaction after root.
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
UserTest::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/UserTest.php
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/Rest/WorkspaceResourceTestBase.php
WorkspaceResourceTestBase::$firstCreatedEntityId property core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php The entity ID for the first created entity in testPost().
WorkspaceTest::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/WorkspaceTest.php
_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.