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
BlockResourceTestBase::createEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Creates the entity to be tested.
BlockSettings::create function core/modules/block/src/Plugin/migrate/process/BlockSettings.php Creates an instance of the plugin.
BlockStorageUnitTest::createTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the creation of blocks.
BlockTest::createEntity function core/modules/jsonapi/tests/src/Functional/BlockTest.php Creates the entity to be tested.
BlockTheme::create function core/modules/block/src/Plugin/migrate/process/BlockTheme.php Creates an instance of the plugin.
BlockVisibility::create function core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Creates an instance of the plugin.
BodyFieldCreationTrait::createBodyField function core/modules/field/tests/src/Traits/BodyFieldCreationTrait.php Creates a field of an body field storage on the specified bundle.
BreakLockForm::create function core/modules/views_ui/src/Form/BreakLockForm.php Instantiates a new instance of this class.
BreakLockLink::create function core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php Creates an instance of the plugin.
Broken::create function core/lib/Drupal/Core/Block/Plugin/Block/Broken.php Creates an instance of the plugin.
BrowserWithJavascriptTest::testCreateScreenshot function core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php Tests creating screenshots.
BubbleableMetadata::createFromObject function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object from a depended object.
BubbleableMetadata::createFromRenderArray function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object with values taken from a render array.
BubbleableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for createFromRenderArray().
BubbleableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::createFromRenderArray[[api-linebreak]]
@dataProvider providerTestCreateFromRenderArray
BulkForm::create function core/modules/views/src/Plugin/views/field/BulkForm.php Creates an instance of the plugin.
Bundle::create function core/modules/views/src/Plugin/views/filter/Bundle.php Creates an instance of the plugin.
BundleClassTest::testAmbiguousBundleClassExceptionCreate function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two bundles share the same bundle class.
ByteSizeMarkup::create function core/lib/Drupal/Core/StringTranslation/ByteSizeMarkup.php Gets the TranslatableMarkup object for the provided size.
CacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php Creates a configuration object for use during install and synchronization.
CacheableMetadata::createFromObject function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object from a depended object.
CacheableMetadata::createFromRenderArray function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object with values taken from a render array.
CacheableMetadataCalculationTest::create function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Creates an instance of the plugin.
CacheableMetadataTest::providerTestCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromObject().
CacheableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromRenderArray().
CacheableMetadataTest::testCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromObject[[api-linebreak]]
@dataProvider providerTestCreateFromObject
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray[[api-linebreak]]
@dataProvider providerTestCreateFromRenderArray
CacheCollector::$cacheCreated property core/lib/Drupal/Core/Cache/CacheCollector.php Stores the cache creation time.
CacheCollectorHelper::setCacheCreated function core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Setter for the cacheCreated property for use in unit tests.
CachedStorage::createCollection function core/lib/Drupal/Core/Config/CachedStorage.php Creates a collection on the storage.
CallsDestructableServiceController::create function core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php Instantiates a new instance of the implementing class using autowiring.
CanaryTransportFactory::create function core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransportFactory.php
CancelUser::create function core/modules/user/src/Plugin/Action/CancelUser.php Creates an instance of the plugin.
CategoryAutocompleteController::create function core/modules/block/src/Controller/CategoryAutocompleteController.php Instantiates a new instance of this class.
ChainedFastBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/ChainedFastBackendTest.php Creates a new instance of ChainedFastBackend.
ChainEntityResolverTest::createEntityResolverMock function core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php Creates a mock entity resolver.
ChangeUserRoleBase::create function core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php Creates an instance of the plugin.
CheckpointStorage::createCollection function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Creates a collection on the storage.
CheckpointStorageTest::testConfigCreate function core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php Tests the create operation of checkpoint storage.
ChooseBlockController::create function core/modules/layout_builder/src/Controller/ChooseBlockController.php Instantiates a new instance of this class.
ChooseSectionController::create function core/modules/layout_builder/src/Controller/ChooseSectionController.php Instantiates a new instance of this class.
CKEditor5::create function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Creates an instance of the plugin.
CKEditor5::createEphemeralPairedEditor function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Creates an ephemeral pair of text editor + text format config entity.
CKEditor5ImageController::create function core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Instantiates a new instance of the implementing class using autowiring.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php Instantiates a new instance of this class.
CKEditor5TestBase::createNewTextFormat function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php Create a new text format using CKEditor 5.
ClassResolverConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ClassResolverConstraintValidator.php Instantiates a new instance of this class.
Cleaner::create function core/modules/package_manager/src/Plugin/QueueWorker/Cleaner.php Creates an instance of the plugin.
ClearCacheBlock::create function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates an instance of the plugin.
ClientFactoryTest::providerTestCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Data provider for testCreateFromOptions.

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