Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 10.3.x for create
  4. Search 11.x for create
  5. Other projects
Title Object type File name Summary
ContactFormEditForm::create function core/modules/contact/src/ContactFormEditForm.php Instantiates a new instance of this class.
ContactFormResourceTestBase::createEntity function core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php Creates the entity to be tested.
ContactFormTest::createEntity function core/modules/jsonapi/tests/src/Functional/ContactFormTest.php Creates the entity to be tested.
ContactMessageAccessControlHandler::checkCreateAccess function core/modules/contact/src/ContactMessageAccessControlHandler.php Performs create access checks.
Container::createService function core/lib/Drupal/Component/DependencyInjection/Container.php Creates a service from a service definition.
ContainerAwareEventDispatcherTest::createEventDispatcher function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerDeriverInterface::create function core/lib/Drupal/Core/Plugin/Discovery/ContainerDeriverInterface.php Creates a new class instance.
ContainerFactory::createInstance function core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php Creates a pre-configured instance of a plugin.
ContainerFactoryPluginInterface::create function core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Creates an instance of the plugin.
ContainerInjectionInterface::create function core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php Instantiates a new instance of this class.
ContentEntity::create function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php Creates an instance of the plugin.
ContentEntityBase::createDuplicate function core/lib/Drupal/Core/Entity/ContentEntityBase.php Creates a duplicate of the entity.
ContentEntityBase::postCreate function core/lib/Drupal/Core/Entity/ContentEntityBase.php Acts on a created entity before hooks are invoked.
ContentEntityDeriver::create function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php Creates a new class instance.
ContentEntityForm::create function core/lib/Drupal/Core/Entity/ContentEntityForm.php Instantiates a new instance of this class.
ContentEntityNormalizerTest::createMockFieldListItem function core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php Creates a mock field list item.
ContentEntityNormalizerTest::createMockForContentEntity function core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php Creates a mock content entity.
ContentEntityStorageBase::createInstance function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Instantiates a new instance of this entity handler.
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
ContentEntityStorageBase::onFieldStorageDefinitionCreate function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
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 @covers ::create
ContentEntityStorageBaseTest::testReCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php @covers ::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 Instantiates a new instance of this class.
ContentLanguageSettingsResourceTestBase::createEntity function core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php Creates the entity to be tested.
ContentLanguageSettingsTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php Creates another entity to be tested.
ContentLanguageSettingsTest::createEntity function core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php Creates the entity to be tested.
ContentModeration::create function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Creates an instance of the plugin.
ContentModerationConfigureEntityTypesForm::create function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Instantiates a new instance of this class.
ContentModerationConfigureForm::create function core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php Instantiates a new instance of this class.
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 Performs create access checks.
ContentModerationStateFormatter::create function core/modules/content_moderation/src/Plugin/Field/FieldFormatter/ContentModerationStateFormatter.php Creates an instance of the plugin.
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 Creates a new class instance.
ContentTranslationController::create function core/modules/content_translation/src/Controller/ContentTranslationController.php Instantiates a new instance of this class.
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 Instantiates a new instance of this entity handler.
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 Creates a new class instance.
ContentTranslationManageAccessCheckTest::testCreateAccess function core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php Tests the create access method.

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