Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
StubForm::$formId property core/modules/system/tests/src/Functional/Form/StubForm.php The form ID.
StubForm::buildForm function core/modules/system/tests/src/Functional/Form/StubForm.php Form constructor.
StubForm::getFormId function core/modules/system/tests/src/Functional/Form/StubForm.php Returns a unique string identifying the form.
StubForm::submitForm function core/modules/system/tests/src/Functional/Form/StubForm.php Form submission handler.
StubForm::__construct function core/modules/system/tests/src/Functional/Form/StubForm.php Constructs a StubForm.
StubFormSubmitter class core/tests/Drupal/Tests/Core/Form/StubFormSubmitter.php Provides a stub FormSubmitter that doesn't depend on batch_get().
StubFormSubmitter.php file core/tests/Drupal/Tests/Core/Form/StubFormSubmitter.php
StubFormSubmitter::batchGet function core/tests/Drupal/Tests/Core/Form/StubFormSubmitter.php Wraps batch_get().
StubLockBackendAbstract class core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php A stub of the abstract LockBackendAbstract class for testing purposes.
StubLockBackendAbstract.php file core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php
StubLockBackendAbstract::acquire function core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php Acquires a lock.
StubLockBackendAbstract::lockMayBeAvailable function core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php Checks if a lock is available for acquiring.
StubLockBackendAbstract::release function core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php Releases the given lock.
StubLockBackendAbstract::releaseAll function core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php Releases all locks for the given lock token identifier.
StubNegotiationMiddleware class core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Stub class for testing NegotiationMiddleware.
StubNegotiationMiddleware::getContentType function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Gets the normalized type of a request.
StubPagerPluginBase class core/modules/views/tests/src/Unit/Plugin/pager/StubPagerPluginBase.php A stub pager plugin for testing purposes.
StubPagerPluginBase.php file core/modules/views/tests/src/Unit/Plugin/pager/StubPagerPluginBase.php
StubPathMatcher class core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php A class extending PatchMatcher for testing purposes.
StubPathMatcher.php file core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php
StubPathMatcher::isFrontPage function core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php Checks if the current page is the front page.
StubPDO class core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php A stub of \PDO for testing purposes.
StubPDO.php file core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php
StubPDO::__construct function core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php Construction method.
StubPluginBase class core/tests/Drupal/Tests/Component/Plugin/StubPluginBase.php A class extending PluginBase for testing purposes.
StubPluginBase.php file core/tests/Drupal/Tests/Component/Plugin/StubPluginBase.php
StubPluginManagerBase class core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBase.php A class extending PluginManagerBase for testing purposes.
StubPluginManagerBase.php file core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBase.php
StubPluginManagerBaseWithMapper class core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php Stubs \Drupal\Component\Plugin\PluginManagerBase to take a MapperInterface.
StubPluginManagerBaseWithMapper.php file core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php
StubPluginManagerBaseWithMapper::__construct function core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php Constructs a new instance.
StubReflectionFactory class core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Override ReflectionFactory because ::createInstance() calls a static method.
StubReflectionFactory::getPluginClass function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Finds the class relevant for a given plugin.
StubRequestHandlerResourcePlugin class core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Stub class where we can prophesize methods.
StubRequestHandlerResourcePlugin::delete function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Handles a DELETE request.
StubRequestHandlerResourcePlugin::get function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Handles a GET request.
StubRequestHandlerResourcePlugin::patch function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Handles a PATCH request.
StubRequestHandlerResourcePlugin::post function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Handles a POST request.
StubRevisionableEntity class core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php A stub revisionable entity for testing purposes.
StubRevisionableEntity.php file core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php
StubRevisionableEntity::getLoadedRevisionId function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Gets the loaded Revision ID of the entity.
StubRevisionableEntity::getRevisionId function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Gets the revision identifier of the entity.
StubRevisionableEntity::isDefaultRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Checks if this entity is the default revision.
StubRevisionableEntity::isLatestRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Checks if this entity is the latest revision.
StubRevisionableEntity::isNewRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Determines whether a new revision should be created on save.
StubRevisionableEntity::preSaveRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Acts on a revision before it gets saved.
StubRevisionableEntity::setNewRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Enforces an entity to be saved as a new revision.
StubRevisionableEntity::updateLoadedRevisionId function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Updates the loaded Revision ID with the revision ID.
StubRevisionableEntity::wasDefaultRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Checks whether the entity object was a default revision when it was saved.
StubSchema class core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php A stub of the abstract Schema class for testing purposes.

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