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 main for create
  6. Other projects
Title Object type File name Summary
ContentEntityStorageBase::createRevision function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Creates a new revision starting off from the specified entity object.
ContentEntityStorageBase::createTranslation function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Constructs a new entity translation object, without permanently saving it.
ContentEntityStorageBase::createWithSampleValues function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Creates an entity with sample field values.
ContentEntityStorageBase::doCreate function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Performs storage-specific creation of entities.
ContentEntityStorageBase::onFieldDefinitionCreate function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Reacts to the creation of a field.
ContentEntityStorageBase::onFieldStorageDefinitionCreate function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Reacts to the creation of a field storage definition.
ContentEntityStorageBaseTest::providerTestCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php Provides test data for testCreate().
ContentEntityStorageBaseTest::testCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php Tests create.
ContentEntityStorageBaseTest::testReCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php Tests re create.
ContentEntityStorageInterface::createWithSampleValues function core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php Creates an entity with sample field values.
ContentLanguageSettingsForm::create function core/modules/language/src/Form/ContentLanguageSettingsForm.php
ContentLanguageSettingsResourceTestBase::createEntity function core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
ContentLanguageSettingsTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
ContentLanguageSettingsTest::createEntity function core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
ContentModerationConfigureEntityTypesForm::create function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php
ContentModerationConfigureForm::create function core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
ContentModerationState::updateOrCreateFromEntity function core/modules/content_moderation/src/Entity/ContentModerationState.php Creates or updates an entity's moderation state whilst saving that entity.
ContentModerationStateAccessControlHandler::checkCreateAccess function core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php
ContentModerationStateResourceTest::testCreateContentModerationStateResource function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php
ContentModerationStateTest::createEntity function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Creates an entity.
ContentModerationTestTrait::createEditorialWorkflow function core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Creates the editorial workflow.
ContentPreprocess::create function core/modules/content_moderation/src/ContentPreprocess.php Instantiates a new instance of this class.
ContentTranslationContextualLinks::create function core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php
ContentTranslationFieldSyncRevisionTest::createRevision function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Creates a new revision starting from the latest translation-affecting one.
ContentTranslationHandler::createInstance function core/modules/content_translation/src/ContentTranslationHandler.php
ContentTranslationHandler::hasCreatedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports creation time natively.
ContentTranslationLinkTagTest::createTranslatableEntity function core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php Create a test entity with translations.
ContentTranslationLocalTasks::create function core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php
ContentTranslationManageAccessCheckTest::testCreateAccess function core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php Tests the create access method.
ContentTranslationMetadataWrapper::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php
ContentTranslationMetadataWrapper::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php
ContentTranslationMetadataWrapperInterface::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation creation timestamp.
ContentTranslationMetadataWrapperInterface::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Sets the translation creation timestamp.
ContentTranslationPermissions::create function core/modules/content_translation/src/ContentTranslationPermissions.php
ContentTranslationSynchronizedFieldsConstraintValidator::create function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
ContentTranslationTestBase::createEntity function core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php Creates the entity to be translated.
ContentTypeCreationTrait::createContentType function core/modules/node/tests/src/Traits/ContentTypeCreationTrait.php Creates a custom content type based on default settings.
Context::createFromContext function core/lib/Drupal/Core/Plugin/Context/Context.php Creates a new context with a different value.
ContextDefinition::create function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Creates a new context definition.
ContextDefinitionTest::testCreateWithEntityDataType function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php Tests create with entity data type.
ContextInterface::createFromContext function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Creates a new context with a different value.
ContextualDynamicContextTest::createContextualIdToken function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Creates a contextual ID token.
ControllerBaseTest::testCreate function core/tests/Drupal/KernelTests/Core/Controller/ControllerBaseTest.php Tests create.
ControllerBaseTest::testCreateException function core/tests/Drupal/KernelTests/Core/Controller/ControllerBaseTest.php Tests create exception.
ControllerBaseTest::testCreateOptional function core/tests/Drupal/KernelTests/Core/Controller/ControllerBaseTest.php Tests create optional.
ControllerResolverTest::providerTestCreateController function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Provides test data for testCreateController().
ControllerResolverTest::testCreateController function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests createController().
ControllerResolverTest::testCreateControllerInvalidName function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests createController() with an invalid name.
ControllerResolverTest::testCreateControllerNonExistentClass function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests createController() with a non-existent class.
CountableResourceTypeRepository::createResourceType function core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php

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