Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Search 11.x for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
SessionTestController::getId function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID.
SessionTestController::getIdFromCookie function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID as read from the cookie.
SessionTestController::getSession function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Returns the values stored in the active session and the user ID.
SessionTestController::hasSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints a message if the flag in the session bag is set.
SessionTestController::isLoggedIn function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Only available if current user is logged in.
SessionTestController::noSet function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Turns off session saving and then tries to save a value anyway.
SessionTestController::set function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Stores a value in 'session_test_value' session attribute.
SessionTestController::setMessage function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets a message to me displayed on the following page.
SessionTestController::setMessageButDoNotSave function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets a message but call drupal_save_session(FALSE).
SessionTestController::setSession function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets a test value on the session.
SessionTestController::setSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets the test flag in the session test bag.
SessionTestController::traceHandler function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Returns the trace recorded by test proxy session handlers as JSON.
SessionTestController::traceHandlerRewriteUnmodified function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Returns an updated trace recorded by test proxy session handlers as JSON.
SessionTestController::triggerWriteException function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Trigger an exception when the session is written.
SessionTestForm class core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php Form controller for the test config edit forms.
SessionTestForm.php file core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php
SessionTestForm::buildForm function core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php
SessionTestForm::getFormId function core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php
SessionTestForm::submitForm function core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php
SessionTestHooks class core/modules/system/tests/modules/session_test/src/Hook/SessionTestHooks.php Hook implementations for session_test.
SessionTestHooks.php file core/modules/system/tests/modules/session_test/src/Hook/SessionTestHooks.php
SessionTestHooks::userLogin function core/modules/system/tests/modules/session_test/src/Hook/SessionTestHooks.php Implements hook_user_login().
SessionTestSubscriber class core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Defines a test session subscriber that checks whether the session is empty.
SessionTestSubscriber.php file core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php
SessionTestSubscriber::$emptySession property core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Stores whether the session is empty at the beginning of the request.
SessionTestSubscriber::getSubscribedEvents function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Registers the methods in this class that should be listeners.
SessionTestSubscriber::onKernelRequestSessionTest function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Set header for session testing.
SessionTestSubscriber::onKernelResponseSessionTest function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Performs tasks for session_test module on kernel.response.
SessionTestTrait trait core/tests/Drupal/Tests/SessionTestTrait.php Provides methods to generate and get session name in tests.
SessionTestTrait.php file core/tests/Drupal/Tests/SessionTestTrait.php
SessionTestTrait::$sessionName property core/tests/Drupal/Tests/SessionTestTrait.php The name of the session cookie.
SessionTestTrait::generateSessionName function core/tests/Drupal/Tests/SessionTestTrait.php Generates a session cookie name.
SessionTestTrait::getSessionName function core/tests/Drupal/Tests/SessionTestTrait.php Returns the session name in use on the child site.
session_exists_cache_context_test.info.yml file core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml
session_test.info.yml file core/modules/system/tests/modules/session_test/session_test.info.yml core/modules/system/tests/modules/session_test/session_test.info.yml
session_test.routing.yml file core/modules/system/tests/modules/session_test/session_test.routing.yml core/modules/system/tests/modules/session_test/session_test.routing.yml
session_test.services.yml file core/modules/system/tests/modules/session_test/session_test.services.yml core/modules/system/tests/modules/session_test/session_test.services.yml
session_test.session_bag service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\Session\TestSessionBag
session_test.session_handler.test_proxy service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\Session\TestSessionHandlerProxy
session_test.session_handler.test_proxy2 service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\Session\TestSessionHandlerProxy
session_test.session_handler_proxy_trace service core/modules/system/tests/modules/session_test/session_test.services.yml ArrayObject
session_test.subscriber service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\EventSubscriber\SessionTestSubscriber
SettingsConfigValidationTest class core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests Settings Config Validation.
SettingsConfigValidationTest.php file core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php
SettingsConfigValidationTest::$modules property core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
SettingsFormTest class core/modules/media_library/tests/src/Functional/SettingsFormTest.php Tests the Media Library settings form.
SettingsFormTest class core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php Tests Settings Form.
SettingsFormTest.php file core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php
SettingsFormTest.php file core/modules/media_library/tests/src/Functional/SettingsFormTest.php

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