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
AccessAnnouncementTest::testAnnounceFirstLogin function core/modules/announcements_feed/tests/src/FunctionalJavascript/AccessAnnouncementTest.php Test of viewing announcements by a user with appropriate permission.
AjaxTestFocusFirstForm class core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Form for testing AJAX FocusFirstCommand.
AjaxTestFocusFirstForm.php file core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php
AjaxTestFocusFirstForm::buildForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Form constructor.
AjaxTestFocusFirstForm::focusableContainerNotTabbableChildren function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Callback for testing FocusFirstCommand on a container.
AjaxTestFocusFirstForm::focusFirstInContainer function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Callback for testing FocusFirstCommand on a container.
AjaxTestFocusFirstForm::focusFirstInForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Callback for testing FocusFirstCommand on a form.
AjaxTestFocusFirstForm::focusFirstSelectorMultipleMatch function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Callback for testing FocusFirstCommand on a container.
AjaxTestFocusFirstForm::getFormId function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Returns a unique string identifying the form.
AjaxTestFocusFirstForm::selectorDoesNotExist function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Callback for testing FocusFirstCommand on a container.
AjaxTestFocusFirstForm::selectorHasNothingTabbable function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Callback for testing FocusFirstCommand on a container.
AjaxTestFocusFirstForm::submitForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Form submission handler.
AjaxTestFocusFirstForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Form validation handler.
AnnounceFetcherUserTest::testAllAnnouncementsFirst function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Tests testAllAnnouncements should get all announcements.
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 Tests 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::testSecondaryUpdateDeletedChildFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary updates for deleted files work as expected.
ConfigImporterTest::testSecondaryUpdateDeletedParentFirst 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/Kernel/ConfigOtherModuleTest.php Tests enabling the provider of the config entity type first.
ConfigOtherModuleTest::testInstallOtherModuleFirst function core/modules/config/tests/src/Kernel/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 Data provider for all test methods.
DeprecationHookAttributeTestHooks::deprecatedAlterAlterFirst function core/modules/system/tests/modules/deprecation_hook_attribute_test/src/Hook/DeprecationHookAttributeTestHooks.php Implements hook_deprecated_alter_alter().
DriverSpecificTransactionTestBase::createFirstSavepointTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Create a Drupal savepoint transaction after root.
EntityResourceTestBase::$firstCreatedEntityId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity ID for the first created entity in testPost().
EntityReverse::$first_alias property core/modules/views/src/Plugin/views/relationship/EntityReverse.php
FocusFirstCommand class core/lib/Drupal/Core/Ajax/FocusFirstCommand.php AJAX command for focusing an element.
FocusFirstCommand.php file core/lib/Drupal/Core/Ajax/FocusFirstCommand.php
FocusFirstCommand::$selector property core/lib/Drupal/Core/Ajax/FocusFirstCommand.php The selector of the container with tabbable elements.
FocusFirstCommand::render function core/lib/Drupal/Core/Ajax/FocusFirstCommand.php Return an array to be run through json_encode and sent to the client.
FocusFirstCommand::__construct function core/lib/Drupal/Core/Ajax/FocusFirstCommand.php Constructs an FocusFirstCommand object.
FocusFirstCommandTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/FocusFirstCommandTest.php Tests setting focus via AJAX command.
FocusFirstCommandTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/FocusFirstCommandTest.php
FocusFirstCommandTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Ajax/FocusFirstCommandTest.php The theme to install as the default for testing.
FocusFirstCommandTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/FocusFirstCommandTest.php Modules to install.
FocusFirstCommandTest::testFocusFirst function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FocusFirstCommandTest.php Tests AjaxFocusFirstCommand on a page.
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 Tests depth-first-search features.
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

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