Search for CreateInstance

  1. Search 7.x for CreateInstance
  2. Search 9.5.x for CreateInstance
  3. Search 8.9.x for CreateInstance
  4. Search 10.3.x for CreateInstance
  5. Other projects
Title Object type File name Summary
ArchiverManager::createInstance function core/lib/Drupal/Core/Archiver/ArchiverManager.php Creates a plugin instance based on the provided ID and configuration.
BaseFieldOverrideStorage::createInstance function core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php Instantiates a new instance of this entity handler.
BlockAccessControlHandler::createInstance function core/modules/block/src/BlockAccessControlHandler.php Instantiates a new instance of this entity handler.
BlockListBuilder::createInstance function core/modules/block/src/BlockListBuilder.php Instantiates a new instance of this entity handler.
CommentStorage::createInstance function core/modules/comment/src/CommentStorage.php Instantiates a new instance of this entity handler.
CommentTypeListBuilder::createInstance function core/modules/comment/src/CommentTypeListBuilder.php Instantiates a new instance of this entity handler.
CommentViewBuilder::createInstance function core/modules/comment/src/CommentViewBuilder.php Instantiates a new instance of this entity handler.
ComponentPluginManager::createInstance function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates an instance.
ConditionManager::createInstance function core/lib/Drupal/Core/Condition/ConditionManager.php Creates a plugin instance based on the provided ID and configuration.
ConfigActionManager::createInstance function core/lib/Drupal/Core/Config/Action/ConfigActionManager.php Creates a plugin instance based on the provided ID and configuration.
ConfigEntityStorage::createInstance function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Instantiates a new instance of this entity handler.
ConstraintFactory::createInstance function core/lib/Drupal/Core/Validation/ConstraintFactory.php Creates a plugin instance based on the provided ID and configuration.
ConstraintFactoryTest::testCreateInstance function core/tests/Drupal/KernelTests/Core/Validation/ConstraintFactoryTest.php @covers ::createInstance[[api-linebreak]]
ContainerFactory::createInstance function core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php Creates a plugin instance based on the provided ID and configuration.
ContentEntityStorageBase::createInstance function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Instantiates a new instance of this entity handler.
DefaultFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Creates a plugin instance based on the provided ID and configuration.
DefaultHtmlRouteProvider::createInstance function core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php Instantiates a new instance of this entity handler.
DefaultPluginManagerTest::testCreateInstanceWithInvalidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without the proper interface.
DefaultPluginManagerTest::testCreateInstanceWithJustValidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins with the proper interface.
ElementInfoManager::createInstance function core/lib/Drupal/Core/Render/ElementInfoManager.php
EntityHandlerInterface::createInstance function core/lib/Drupal/Core/Entity/EntityHandlerInterface.php Instantiates a new instance of this entity handler.
EntityListBuilder::createInstance function core/lib/Drupal/Core/Entity/EntityListBuilder.php Instantiates a new instance of this entity handler.
EntityPermissionsRouteProvider::createInstance function core/modules/user/src/Entity/EntityPermissionsRouteProvider.php Instantiates a new instance of this entity handler.
EntityViewBuilder::createInstance function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Instantiates a new instance of this entity handler.
FactoryInterface::createInstance function core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php Creates a plugin instance based on the provided ID and configuration.
FieldTypePluginManager::createInstance function core/lib/Drupal/Core/Field/FieldTypePluginManager.php Creates a field item, which is not part of an entity or field item list.
FormatterPluginManager::createInstance function core/lib/Drupal/Core/Field/FormatterPluginManager.php Creates a plugin instance based on the provided ID and configuration.
ImageToolkitOperationManager::createInstance function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php Creates a plugin instance based on the provided ID and configuration.
KeyValueEntityStorage::createInstance function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Instantiates a new instance of this entity handler.
LayoutPluginManagerInterface::createInstance function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
MenuLinkManager::createInstance function core/lib/Drupal/Core/Menu/MenuLinkManager.php Returns a pre-configured menu link plugin instance.
MenuLinkTree::createInstances function core/lib/Drupal/Core/Menu/MenuLinkTree.php Returns a tree containing of MenuLinkTreeElement based upon tree data.
PathAliasListBuilder::createInstance function core/modules/path/src/PathAliasListBuilder.php Instantiates a new instance of this entity handler.
PluginFormFactory::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactory.php Creates a new form instance.
PluginFormFactoryInterface::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php Creates a new form instance.
PluginFormFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance.
PluginFormFactoryTest::testCreateInstanceDefaultFallback function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance default fallback.
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance definition exception.
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance invalid exception.
PluginFormFactoryTest::testCreateInstancePluginAware function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance plugin aware.
PluginFormFactoryTest::testCreateInstanceUsingPlugin function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance using plugin.
PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance using plugin with slashes.
PluginManagerBase::createInstance function core/lib/Drupal/Component/Plugin/PluginManagerBase.php Creates a plugin instance based on the provided ID and configuration.
PluginManagerBaseTest::createInstanceCallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php A callback method for mocking FactoryInterface objects.
PluginManagerBaseTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with no fallback methods.
PluginManagerBaseTest::testCreateInstanceFallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with a fallback method.
QueueWorkerManager::createInstance function core/lib/Drupal/Core/Queue/QueueWorkerManager.php
ReflectionFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php Creates a plugin instance based on the provided ID and configuration.
ReflectionFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @legacy-covers ::createInstance
RoleListBuilder::createInstance function core/modules/user/src/RoleListBuilder.php Instantiates a new instance of this entity handler.

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