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
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 Creates a plugin instance based on the provided ID and configuration.
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/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates an instance.
ConditionManager::createInstance function core/lib/Drupal/Core/Condition/ConditionManager.php
ConfigActionManager::createInstance function core/lib/Drupal/Core/Config/Action/ConfigActionManager.php Creates a plugin instance based on the provided ID and configuration.
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
ConfigTranslationFieldListBuilder::createInstance function core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php
ConstraintFactory::createInstance function core/lib/Drupal/Core/Validation/ConstraintFactory.php
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
ContentEntityStorageBase::createInstance function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
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
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
EntityModerationRouteProvider::createInstance function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php
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
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
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
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 Creates a plugin instance based on the provided ID and configuration.
IgnoredWorkspaceHandler::createInstance function core/modules/workspaces/src/Entity/Handler/IgnoredWorkspaceHandler.php
ImageToolkitOperationManager::createInstance function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php Creates a plugin instance based on the provided ID and configuration.
KeyValueEntityStorage::createInstance function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
LanguageListBuilder::createInstance function core/modules/language/src/LanguageListBuilder.php
LayoutPluginManagerInterface::createInstance function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
MediaAccessControlHandler::createInstance function core/modules/media/src/MediaAccessControlHandler.php

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