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
MediaListBuilder::createInstance function core/modules/media/src/MediaListBuilder.php Instantiates a new instance of this entity handler.
MediaRouteProvider::createInstance function core/modules/media/src/Routing/MediaRouteProvider.php Instantiates a new instance of this entity handler.
MenuLinkContentAccessControlHandler::createInstance function core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php Instantiates a new instance of this entity handler.
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.
MigrateDestinationPluginManager::createInstance function core/modules/migrate/src/Plugin/MigrateDestinationPluginManager.php A specific createInstance method is necessary to pass the migration on.
MigratePluginManager::createInstance function core/modules/migrate/src/Plugin/MigratePluginManager.php
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
MigrationPluginManager::createInstancesByTag function core/modules/migrate/src/Plugin/MigrationPluginManager.php
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.
MigrationPluginManagerTest::providerCreateInstanceByTag function core/modules/migrate/tests/src/Kernel/MigrationPluginManagerTest.php Data provider for testCreateInstancesByTag.
MigrationPluginManagerTest::testCreateInstancesByTag function core/modules/migrate/tests/src/Kernel/MigrationPluginManagerTest.php Tests Migration::createInstancesByTag().
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
NodeListBuilder::createInstance function core/modules/node/src/NodeListBuilder.php
NodeModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Instantiates a new instance of this entity handler.
NodeViewsData::createInstance function core/modules/node/src/NodeViewsData.php
PathAliasListBuilder::createInstance function core/modules/path/src/PathAliasListBuilder.php
PluginFormFactory::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactory.php
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
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
ReflectionFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @legacy-covers ::createInstance
RoleListBuilder::createInstance function core/modules/user/src/RoleListBuilder.php
SearchPageListBuilder::createInstance function core/modules/search/src/SearchPageListBuilder.php
ShortcutAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutAccessControlHandler.php Instantiates a new instance of this entity handler.
ShortcutSetAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutSetAccessControlHandler.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
StubEntityStorageBase::createInstance function core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php
TypedData::createInstance function core/lib/Drupal/Core/TypedData/TypedData.php
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
TypedDataManagerInterface::createInstance function core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php Instantiates a typed data object.

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