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
LanguageNegotiator::$configFactory property core/modules/language/src/LanguageNegotiator.php The configuration factory.
LayoutBuilderSampleEntityGenerator::$tempStoreFactory property core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php The shared tempstore factory.
LayoutTempstoreRepository::$tempStoreFactory property core/modules/layout_builder/src/LayoutTempstoreRepository.php The shared tempstore factory.
LinkManagerBase::$configFactory property core/modules/hal/src/LinkManager/LinkManagerBase.php Config factory service.
Local::factory function core/lib/Drupal/Core/FileTransfer/Local.php
LocalActionManagerTest::$factory property core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php The mocked factory.
LocaleConfigManager::$configFactory property core/modules/locale/src/LocaleConfigManager.php The configuration factory.
LocaleConfigSubscriber::$configFactory property core/modules/locale/src/LocaleConfigSubscriber.php The configuration factory.
LocaleConfigSubscriberTest::$configFactory property core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php The configuration factory used in this test.
LocaleLookup::$configFactory property core/modules/locale/src/LocaleLookup.php The configuration factory.
LocaleLookupTest::$configFactory property core/modules/locale/tests/src/Unit/LocaleLookupTest.php A mocked config factory built with UnitTestCase::getConfigFactoryStub().
LocaleTranslation::$configFactory property core/modules/locale/src/LocaleTranslation.php The configuration factory.
LocalTaskManagerTest::$factory property core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php The plugin factory used in the test.
LocalTaskManagerTest::setupFactory function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php Setups the plugin factory with some local task plugins.
LocalTaskManagerTest::setupFactoryAndLocalTaskPlugins function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
logger.factory service core/core.services.yml Drupal\Core\Logger\LoggerChannelFactory
LoggerChannelFactory class core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Defines a factory for logging channels.
LoggerChannelFactory.php file core/lib/Drupal/Core/Logger/LoggerChannelFactory.php
LoggerChannelFactory::$channels property core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Array of all instantiated logger channels keyed by channel name.
LoggerChannelFactory::$loggers property core/lib/Drupal/Core/Logger/LoggerChannelFactory.php An array of arrays of \Psr\Log\LoggerInterface keyed by priority.
LoggerChannelFactory::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Adds a logger to all the channels.
LoggerChannelFactory::get function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Retrieves the registered logger for the requested channel.
LoggerChannelFactoryInterface interface core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Logger channel factory interface.
LoggerChannelFactoryInterface.php file core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php
LoggerChannelFactoryInterface::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Adds a logger to all the channels.
LoggerChannelFactoryInterface::get function core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Retrieves the registered logger for the requested channel.
LoggerChannelFactoryTest class core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php @coversDefaultClass \Drupal\Core\Logger\LoggerChannelFactory[[api-linebreak]]
@group Logger
LoggerChannelFactoryTest.php file core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php
LoggerChannelFactoryTest::testGet function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Tests LoggerChannelFactory::get().
LoggerChannelTrait::$loggerFactory property core/lib/Drupal/Core/Logger/LoggerChannelTrait.php The logger channel factory service.
LoggerChannelTrait::setLoggerFactory function core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Injects the logger channel factory.
MailManager::$configFactory property core/lib/Drupal/Core/Mail/MailManager.php The config factory.
MailManager::$loggerFactory property core/lib/Drupal/Core/Mail/MailManager.php The logger factory.
MailManagerTest::$configFactory property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The configuration factory.
MarkupInterfaceComparatorTest::$factory property core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php
MediaEmbed::$loggerFactory property core/modules/media/src/Plugin/Filter/MediaEmbed.php The logger factory.
MediaLibraryUiBuilder::$viewsExecutableFactory property core/modules/media_library/src/MediaLibraryUiBuilder.php The views executable factory.
MediaSourceBase::$configFactory property core/modules/media/src/MediaSourceBase.php The config factory service.
MemoryBackendFactory class core/lib/Drupal/Core/Cache/MemoryBackendFactory.php
MemoryBackendFactory.php file core/lib/Drupal/Core/Cache/MemoryBackendFactory.php
MemoryBackendFactory::$bins property core/lib/Drupal/Core/Cache/MemoryBackendFactory.php Instantiated memory cache bins.
MemoryBackendFactory::get function core/lib/Drupal/Core/Cache/MemoryBackendFactory.php
MemoryCounterBackendFactory class core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php
MemoryCounterBackendFactory.php file core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php
MemoryCounterBackendFactory::$bins property core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php Instantiated memory cache bins.
MemoryCounterBackendFactory::get function core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php
MenuLinkManager::$factory property core/lib/Drupal/Core/Menu/MenuLinkManager.php The object that instantiates plugins managed by this manager.
MenuLinkManager::getFactory function core/lib/Drupal/Core/Menu/MenuLinkManager.php Gets the plugin factory.
MigrationConfigurationTrait::$configFactory property core/modules/migrate_drupal/src/MigrationConfigurationTrait.php The config factory service.
MigrationConfigurationTrait::getConfigFactory function core/modules/migrate_drupal/src/MigrationConfigurationTrait.php Gets the config factory service.

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