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
ItemList::first function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php Returns the first item in this list.
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 text summaries for a question followed by a sentence.
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/Rest/WorkspaceResourceTestBase.php The entity ID for the first created entity in testPost().
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 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.