Search for createInstance

  1. Search 7.x for createInstance
  2. Search 8.9.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
ArchiverManager::createInstance function core/lib/Drupal/Core/Archiver/ArchiverManager.php Creates a pre-configured instance of a plugin.
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.
CommentViewBuilder::createInstance function core/modules/comment/src/CommentViewBuilder.php Instantiates a new instance of this entity handler.
ConditionManager::createInstance function core/lib/Drupal/Core/Condition/ConditionManager.php Creates a pre-configured instance of a plugin.
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 pre-configured instance of a plugin.
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 pre-configured instance of a plugin.
ContentEntityStorageBase::createInstance function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Instantiates a new instance of this entity handler.
ContentTranslationHandler::createInstance function core/modules/content_translation/src/ContentTranslationHandler.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 pre-configured instance of a plugin.
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.
ElementInfoManager::createInstance function core/lib/Drupal/Core/Render/ElementInfoManager.php
EntityDisplayModeListBuilder::createInstance function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Instantiates a new instance of this entity handler.
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.
EntityViewsData::createInstance function core/modules/views/src/EntityViewsData.php Instantiates a new instance of this entity handler.
FactoryInterface::createInstance function core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php Creates a pre-configured instance of a plugin.
FeedViewBuilder::createInstance function core/modules/aggregator/src/FeedViewBuilder.php Instantiates a new instance of this entity handler.
FieldConfigListBuilder::createInstance function core/modules/field_ui/src/FieldConfigListBuilder.php Instantiates a new instance of this entity handler.
FieldStorageConfigListBuilder::createInstance function core/modules/field_ui/src/FieldStorageConfigListBuilder.php Instantiates a new instance of this entity handler.
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.
FilterFormatListBuilder::createInstance function core/modules/filter/src/FilterFormatListBuilder.php Instantiates a new instance of this entity handler.
FormatterPluginManager::createInstance function core/lib/Drupal/Core/Field/FormatterPluginManager.php Creates a pre-configured instance of a plugin.
ImageToolkitOperationManager::createInstance function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php Creates a pre-configured instance of a plugin.
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
MenuLinkContentAccessControlHandler::createInstance function core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.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 Creates a pre-configured instance of a 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 Creates a pre-configured instance of a plugin.
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.
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().
NodeAccessControlHandler::createInstance function core/modules/node/src/NodeAccessControlHandler.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.