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. Search 11.x for create
  6. Other projects
Title Object type File name Summary
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 Instantiates a new instance of the implementing class using autowiring.
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
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 Tests create from render array.
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
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.
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 Tests create from object.
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Tests create from render array.
CachedStorage::createCollection function core/lib/Drupal/Core/Config/CachedStorage.php
CanaryTransportFactory::create function core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransportFactory.php
CategoryAutocompleteController::create function core/modules/block/src/Controller/CategoryAutocompleteController.php
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
CheckpointStorage::createCollection function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php
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
ChooseSectionController::create function core/modules/layout_builder/src/Controller/ChooseSectionController.php
CKEditor5::createEphemeralPairedEditor function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Creates an ephemeral pair of text editor + text format config entity.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php
CKEditor5ReadOnlyModeTest::createCkeditorField function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5ReadOnlyModeTest.php Create a CKEditor 5 field on the page node.
CKEditor5ReadOnlyModeTest::createField function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5ReadOnlyModeTest.php Create a field on the page node.
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
Cleaner::create function core/modules/package_manager/src/Plugin/QueueWorker/Cleaner.php
ClientFactoryTest::providerTestCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Data provider for testCreateFromOptions.
ClientFactoryTest::testCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Tests create from options.
Comment::$createdColumn property core/modules/comment/src/Plugin/views/wizard/Comment.php Set the created column.
Comment::getCreatedTime function core/modules/comment/src/Entity/Comment.php
Comment::preCreate function core/modules/comment/src/Entity/Comment.php
Comment::setCreatedTime function core/modules/comment/src/Entity/Comment.php
CommentAccessControlHandler::checkCreateAccess function core/modules/comment/src/CommentAccessControlHandler.php
CommentAdminOverview::create function core/modules/comment/src/Form/CommentAdminOverview.php
CommentCacheTagsTest::createEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
CommentFieldAccessTest::$createOnlyFields property core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php These fields can be edited on create only.
CommentFieldsTest::testCommentFieldCreate function core/modules/comment/tests/src/Functional/CommentFieldsTest.php Tests creating a comment field through the interface.
CommentForm::create function core/modules/comment/src/CommentForm.php
CommentHooks::fieldConfigCreate function core/modules/comment/src/Hook/CommentHooks.php Implements hook_ENTITY_TYPE_create() for 'field_config'.
CommentInterface::getCreatedTime function core/modules/comment/src/CommentInterface.php Returns the time that the comment was created.
CommentInterface::setCreatedTime function core/modules/comment/src/CommentInterface.php Sets the creation date of the comment.

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