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
MediaAccessControlHandler::createInstance function core/modules/media/src/MediaAccessControlHandler.php Instantiates a new instance of this entity handler.
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 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
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 @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.
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 @covers ::createInstance[[api-linebreak]]
@dataProvider providerGetInstanceArguments
RoleListBuilder::createInstance function core/modules/user/src/RoleListBuilder.php
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.
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
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.
UserListBuilder::createInstance function core/modules/user/src/UserListBuilder.php

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