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 11.x for createInstance
  5. Other projects
Title Object type File name Summary
ArchiverManager::createInstance function core/lib/Drupal/Core/Archiver/ArchiverManager.php
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.
BlockContentAccessControlHandler::createInstance function core/modules/block_content/src/BlockContentAccessControlHandler.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
ConfigActionManager::createInstance function core/lib/Drupal/Core/Config/Action/ConfigActionManager.php
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.
DateFormatListBuilder::createInstance function core/modules/system/src/DateFormatListBuilder.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.
DefaultWorkspaceHandler::createInstance function core/modules/workspaces/src/Entity/Handler/DefaultWorkspaceHandler.php Instantiates a new instance of this entity handler.
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
IgnoredWorkspaceHandler::createInstance function core/modules/workspaces/src/Entity/Handler/IgnoredWorkspaceHandler.php Instantiates a new instance of this entity handler.
ImageToolkitOperationManager::createInstance function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php
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
MenuLinkListBuilder::createInstance function core/modules/menu_link_content/src/MenuLinkListBuilder.php Instantiates a new instance of this entity handler.
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 @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceDefaultFallback function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstancePluginAware function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceUsingPlugin function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginManagerBase::createInstance function core/lib/Drupal/Component/Plugin/PluginManagerBase.php
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.

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