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
ActionListBuilder::createInstance function core/modules/action/src/ActionListBuilder.php Instantiates a new instance of this entity handler.
ArchiverManager::createInstance function core/lib/Drupal/Core/Archiver/ArchiverManager.php
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.
CommentTypeListBuilder::createInstance function core/modules/comment/src/CommentTypeListBuilder.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.
ComponentPluginManager::createInstance function core/modules/sdc/src/ComponentPluginManager.php Creates an instance.
ComponentPluginManager::createInstance function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates an instance.
ConditionManager::createInstance function core/lib/Drupal/Core/Condition/ConditionManager.php
ConfigEntityStorage::createInstance function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Instantiates a new instance of this entity handler.
ConfigTranslationBlockListBuilder::createInstance function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Instantiates a new instance of this entity handler.
ConfigTranslationFieldListBuilder::createInstance function core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php Instantiates a new instance of this entity handler.
ConstraintFactory::createInstance function core/lib/Drupal/Core/Validation/ConstraintFactory.php Creates a plugin instance based on the provided ID and configuration.
ConstraintFactoryTest::testCreateInstance function core/tests/Drupal/KernelTests/Core/Validation/ConstraintFactoryTest.php @covers ::createInstance
ContainerFactory::createInstance function core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php Creates a plugin instance based on the provided ID and configuration.
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 plugin instance based on the provided ID and configuration.
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.
DefaultWorkspaceHandler::createInstance function core/modules/workspaces/src/Entity/Handler/DefaultWorkspaceHandler.php Instantiates a new instance of this entity handler.
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.
EntityModerationRouteProvider::createInstance function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.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 plugin instance based on the provided ID and configuration.
FieldConfigListBuilder::createInstance function core/modules/field_ui/src/FieldConfigListBuilder.php Instantiates a new instance of this entity handler.
FieldConfigStorage::createInstance function core/modules/field/src/FieldConfigStorage.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.
FieldStorageConfigStorage::createInstance function core/modules/field/src/FieldStorageConfigStorage.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.
FieldTypePluginManagerTest::testCreateInstance function core/modules/field/tests/src/Kernel/FieldTypePluginManagerTest.php Tests creation of field item instances.
FieldTypePluginManagerTest::testCreateInstanceWithConfig function core/modules/field/tests/src/Kernel/FieldTypePluginManagerTest.php Tests creation of field item instances.
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
IgnoredWorkspaceHandler::createInstance function core/modules/workspaces/src/Entity/Handler/IgnoredWorkspaceHandler.php Instantiates a new instance of this entity handler.
ImageToolkitOperationManager::createInstance function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php
KeyValueEntityStorage::createInstance function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Instantiates a new instance of this entity handler.
LanguageListBuilder::createInstance function core/modules/language/src/LanguageListBuilder.php Instantiates a new instance of this entity handler.
LayoutPluginManagerInterface::createInstance function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
MediaAccessControlHandler::createInstance function core/modules/media/src/MediaAccessControlHandler.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.