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
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.
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
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 pre-configured instance of a plugin.
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 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.
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 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.
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
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.
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.
MenuLinkManager::createInstance function core/lib/Drupal/Core/Menu/MenuLinkManager.php Returns a pre-configured menu link plugin instance.

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