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
MediaAccessControlHandler::createInstance function core/modules/media/src/MediaAccessControlHandler.php
MediaListBuilder::createInstance function core/modules/media/src/MediaListBuilder.php
MediaRouteProvider::createInstance function core/modules/media/src/Routing/MediaRouteProvider.php
MenuLinkContentAccessControlHandler::createInstance function core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php
MenuLinkListBuilder::createInstance function core/modules/menu_link_content/src/MenuLinkListBuilder.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.
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
ModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php
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
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
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
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
SearchPageListBuilder::createInstance function core/modules/search/src/SearchPageListBuilder.php
ShortcutAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutAccessControlHandler.php
ShortcutSetAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutSetAccessControlHandler.php
ShortcutSetStorage::createInstance function core/modules/shortcut/src/ShortcutSetStorage.php
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.