Search for createInstance

  1. Search 7.x for createInstance
  2. Search 9.5.x for createInstance
  3. Search 10.3.x for createInstance
  4. Search 11.x for createInstance
  5. Other projects
Title Object type File name Summary
MigratePluginManager::createInstance function core/modules/migrate/src/Plugin/MigratePluginManager.php Creates a pre-configured instance of a migration plugin.
MigratePluginManagerInterface::createInstance function core/modules/migrate/src/Plugin/MigratePluginManagerInterface.php Creates a pre-configured instance of a migration plugin.
MigrationPluginManager::createInstance function core/modules/migrate/src/Plugin/MigrationPluginManager.php
MigrationPluginManager::createInstances function core/modules/migrate/src/Plugin/MigrationPluginManager.php Create pre-configured instance of plugin derivatives.
MigrationPluginManager::createInstancesByTag function core/modules/migrate/src/Plugin/MigrationPluginManager.php Create migrations given a tag.
MigrationPluginManagerInterface::createInstances function core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php Create pre-configured instance of plugin derivatives.
MigrationPluginManagerInterface::createInstancesByTag function core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php Create migrations given a tag.
ModeratedNodeListBuilder::createInstance function core/modules/content_moderation/src/ModeratedNodeListBuilder.php Instantiates a new instance of this entity handler.
ModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Instantiates a new instance of this entity handler.
NodeAccessControlHandler::createInstance function core/modules/node/src/NodeAccessControlHandler.php Instantiates a new instance of this entity handler.
NodeListBuilder::createInstance function core/modules/node/src/NodeListBuilder.php Instantiates a new instance of this entity handler.
NodeModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Instantiates a new instance of this entity handler.
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
PluginFormFactoryTest::testCreateInstanceDefaultFallback function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstancePluginAware function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceUsingPlugin function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
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.
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 pre-configured instance of a plugin.
ReflectionFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @covers ::createInstance
@dataProvider providerGetInstanceArguments
RoleListBuilder::createInstance function core/modules/user/src/RoleListBuilder.php Instantiates a new instance of this entity handler.
SearchPageListBuilder::createInstance function core/modules/search/src/SearchPageListBuilder.php Instantiates a new instance of this entity handler.
ShortcutAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutAccessControlHandler.php Instantiates a new instance of this entity handler.
ShortcutSetStorage::createInstance function core/modules/shortcut/src/ShortcutSetStorage.php Instantiates a new instance of this entity handler.
SqlContentEntityStorage::createInstance function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Instantiates a new instance of this entity handler.
TypedData::createInstance function core/lib/Drupal/Core/TypedData/TypedData.php Constructs a TypedData object given its definition and context.
TypedDataInterface::createInstance function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Constructs a TypedData object given its definition and context.
TypedDataManager::createInstance function core/lib/Drupal/Core/TypedData/TypedDataManager.php Instantiates a typed data object.
TypedDataManagerInterface::createInstance function core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php Instantiates a typed data object.
UserListBuilder::createInstance function core/modules/user/src/UserListBuilder.php Instantiates a new instance of this entity handler.
ViewListBuilder::createInstance function core/modules/views_ui/src/ViewListBuilder.php Instantiates a new instance of this entity handler.
ViewsHandlerManager::createInstance function core/modules/views/src/Plugin/ViewsHandlerManager.php
VocabularyListBuilder::createInstance function core/modules/taxonomy/src/VocabularyListBuilder.php Instantiates a new instance of this entity handler.
WidgetPluginManager::createInstance function core/lib/Drupal/Core/Field/WidgetPluginManager.php
WorkflowAccessControlHandler::createInstance function core/modules/workflows/src/WorkflowAccessControlHandler.php Instantiates a new instance of this entity handler.
WorkflowListBuilder::createInstance function core/modules/workflows/src/WorkflowListBuilder.php Instantiates a new instance of this entity handler.
WorkspaceListBuilder::createInstance function core/modules/workspaces/src/WorkspaceListBuilder.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.