Search for factory

  1. Search 7.x for factory
  2. Search 8.9.x for factory
  3. Search 10.3.x for factory
  4. Search 11.x for factory
  5. Other projects
Title Object type File name Summary
ForumUninstallValidator::$configFactory property core/modules/forum/src/ForumUninstallValidator.php The config factory.
FTP::factory function core/lib/Drupal/Core/FileTransfer/FTP.php
http_client_factory service core/core.services.yml Drupal\Core\Http\ClientFactory
http_kernel.controller.argument_metadata_factory service core/core.services.yml Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory
image.factory service core/core.services.yml Drupal\Core\Image\ImageFactory
Image::$imageFactory property core/modules/media/src/Plugin/media/Source/Image.php The image factory service.
ImageFactory class core/lib/Drupal/Core/Image/ImageFactory.php Provides a factory for image objects.
ImageFactory.php file core/lib/Drupal/Core/Image/ImageFactory.php
ImageFactory::$toolkitId property core/lib/Drupal/Core/Image/ImageFactory.php The image toolkit ID to use for this factory.
ImageFactory::$toolkitManager property core/lib/Drupal/Core/Image/ImageFactory.php The image toolkit plugin manager.
ImageFactory::get function core/lib/Drupal/Core/Image/ImageFactory.php Constructs a new Image object.
ImageFactory::getSupportedExtensions function core/lib/Drupal/Core/Image/ImageFactory.php Returns the image file extensions supported by the toolkit.
ImageFactory::getToolkitId function core/lib/Drupal/Core/Image/ImageFactory.php Gets the ID of the image toolkit currently in use.
ImageFactory::setToolkitId function core/lib/Drupal/Core/Image/ImageFactory.php Sets the ID of the image toolkit.
ImageFactory::__construct function core/lib/Drupal/Core/Image/ImageFactory.php Constructs a new ImageFactory object.
ImageItemTest::$imageFactory property core/modules/image/tests/src/Kernel/ImageItemTest.php
ImageStyle::getImageFactory function core/modules/image/src/Entity/ImageStyle.php Returns the image factory.
ImageStyleDownloadController::$imageFactory property core/modules/image/src/Controller/ImageStyleDownloadController.php The image factory.
ImageThemeFunctionTest::$imageFactory property core/modules/image/tests/src/Kernel/ImageThemeFunctionTest.php
ImageToolkitBase::$configFactory property core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php The config factory.
ImageToolkitManager::$configFactory property core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php The config factory.
ImageWidget::$imageFactory property core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php The image factory service.
InputBagTest::testRequestFactory function core/tests/Drupal/Tests/Core/Http/InputBagTest.php @coversNothing[[api-linebreak]]
@todo Remove this when Symfony 4 is no longer supported.
KeyValueDatabaseExpirableFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Defines the key/value store factory for the database backend.
KeyValueDatabaseExpirableFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php
KeyValueDatabaseExpirableFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The database connection.
KeyValueDatabaseExpirableFactory::$serializer property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The serialization class to use.
KeyValueDatabaseExpirableFactory::$storages property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Holds references to each instantiation so they can be terminated.
KeyValueDatabaseExpirableFactory::catchException function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Act on an exception when the table might not have been created.
KeyValueDatabaseExpirableFactory::garbageCollection function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Deletes expired items.
KeyValueDatabaseExpirableFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php
KeyValueDatabaseExpirableFactory::__construct function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Constructs this factory object.
KeyValueDatabaseFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Defines the key/value store factory for the database backend.
KeyValueDatabaseFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php
KeyValueDatabaseFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The database connection to use.
KeyValueDatabaseFactory::$serializer property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The serialization class to use.
KeyValueDatabaseFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php
KeyValueDatabaseFactory::__construct function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Constructs this factory object.
KeyValueExpirableFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php Defines the key/value store factory.
KeyValueExpirableFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php
KeyValueExpirableFactory::DEFAULT_SERVICE constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php
KeyValueExpirableFactory::DEFAULT_SETTING constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php
KeyValueExpirableFactory::SPECIFIC_PREFIX constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php
KeyValueExpirableFactoryInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php Defines the expirable key/value store factory interface.
KeyValueExpirableFactoryInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php
KeyValueExpirableFactoryInterface::get function core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php Constructs a new expirable key/value store for a given collection name.
KeyValueFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php Defines the key/value store factory.
KeyValueFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php
KeyValueFactory::$container property core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The service container.
KeyValueFactory::$options property core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php Collection-specific storage override options.

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