Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 8.9.x for create
  4. Search 10.3.x for create
  5. Other projects
Title Object type File name Summary
Image::create function core/modules/media/src/Plugin/media/Source/Image.php Creates an instance of the plugin.
Image::createNew function core/lib/Drupal/Core/Image/Image.php Prepares a new image, without loading it from a file.
Image::createSourceField function core/modules/media/src/Plugin/media/Source/Image.php Creates the source field definition for a type.
ImageAdminStylesTest::createSampleImage function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Given an image style, generate an image.
ImageEffectAddForm::create function core/modules/image/src/Form/ImageEffectAddForm.php Instantiates a new instance of this class.
ImageEffectBase::create function core/modules/image/src/ImageEffectBase.php Creates an instance of the plugin.
ImageFieldCreationTrait::createImageField function core/modules/image/tests/src/Kernel/ImageFieldCreationTrait.php Create a new image field.
ImageFormatter::create function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Creates an instance of the plugin.
ImageInterface::createNew function core/lib/Drupal/Core/Image/ImageInterface.php Prepares a new image, without loading it from a file.
ImageStyle::createDerivative function core/modules/image/src/Entity/ImageStyle.php Creates a new image derivative based on this image style.
ImageStyleDownloadController::create function core/modules/image/src/Controller/ImageStyleDownloadController.php Instantiates a new instance of the implementing class using autowiring.
ImageStyleEditForm::create function core/modules/image/src/Form/ImageStyleEditForm.php Instantiates a new instance of this class.
ImageStyleFlushTest::createSampleImage function core/modules/image/tests/src/Functional/ImageStyleFlushTest.php Given an image style and a wrapper, generate an image.
ImageStyleFormBase::create function core/modules/image/src/Form/ImageStyleFormBase.php Instantiates a new instance of this class.
ImageStyleInterface::createDerivative function core/modules/image/src/ImageStyleInterface.php Creates a new image derivative based on this image style.
ImageStyleResourceTestBase::createEntity function core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php Creates the entity to be tested.
ImageStyleRoutes::create function core/modules/image/src/Routing/ImageStyleRoutes.php Instantiates a new instance of this class.
ImageStyleTest::createEntity function core/modules/jsonapi/tests/src/Functional/ImageStyleTest.php Creates the entity to be tested.
ImageToolkitForm::create function core/modules/system/src/Form/ImageToolkitForm.php Instantiates a new instance of this class.
ImageToolkitOperationManager::createInstance function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php Creates a plugin instance based on the provided ID and configuration.
ImageUploadTest::createBasicFormat function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Create a basic_html text format for the editor to reference.
ImageUploadTest::createEditorWithUpload function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Create an editor entity with image_upload config.
ImageUrlFormatter::create function core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php Creates an instance of the plugin.
ImmutablePropertiesConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Instantiates a new instance of this class.
ImportableEntityStorageInterface::importCreate function core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php Creates entities upon synchronizing configuration changes.
ImportForm::create function core/modules/locale/src/Form/ImportForm.php Instantiates a new instance of this class.
IncrementalForm::create function core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php Instantiates a new instance of this class.
IndexTidDepth::create function core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php Creates an instance of the plugin.
InlineBlock::create function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Creates an instance of the plugin.
InlineBlockDeriver::create function core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php Creates a new class instance.
InlineBlockEntityOperations::create function core/modules/layout_builder/src/InlineBlockEntityOperations.php Instantiates a new instance of this class.
InlineBlockPrivateFilesTest::createNewNodeRevision function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Create a new revision of the node.
InlineBlockPrivateFilesTest::createPrivateFile function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Creates a private file.
InlineBlockTestBase::createBlockContentType function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Creates a block content type.
InstalledPackage::createFromArray function core/modules/package_manager/src/InstalledPackage.php Create an installed package object from an array.
InstallHelper::create function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Instantiates a new instance of this class.
InstallHelper::createFileEntity function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Creates a file entity based on an image path.
InstallHelper::storeCreatedContentUuids function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Stores record of content entities created by this import.
InstallTasksTest::createTasks function core/modules/mysql/tests/src/Unit/InstallTasksTest.php Creates a Tasks object for testing.
InstallTasksTest::createTasksNoConnection function core/modules/mysql/tests/src/Unit/InstallTasksTest.php Creates a Tasks object for testing, without connection.
IsFrontPathCacheContextTest::createPathMatcher function core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php Creates a PathMatcherInterface prophecy.
ItemList::createItem function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php Helper for creating a list item object.
JsAssetController::create function core/modules/system/src/Controller/JsAssetController.php Instantiates a new instance of the implementing class using autowiring.
JsonApiFunctionalTestBase::createDefaultContent function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Creates default content to test the API.
JsonapiHooks::entityBundleCreate function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_bundle_create().
JsonapiHooks::entityCreate function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_create().
JsonapiKernelTestBase::createTextField function core/modules/jsonapi/tests/src/Kernel/JsonapiKernelTestBase.php Creates a field of a text field storage on the bundle.
KeyValueContentEntityStorage::createRevision function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Creates a new revision starting off from the specified entity object.
KeyValueContentEntityStorage::createTranslation function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Constructs a new entity translation object, without permanently saving it.
KeyValueContentEntityStorage::createWithSampleValues function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Creates an entity with sample field values.

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