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
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 the implementing class using autowiring.
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.
ContentTranslationMetadataWrapper::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation creation timestamp.
ContentTranslationMetadataWrapper::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation creation timestamp.
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 Instantiates a new instance of this class.
ContentTranslationSynchronizedFieldsConstraintValidator::create function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Instantiates a new instance of this class.
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 @covers ::create[[api-linebreak]]
ContextInterface::createFromContext function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Creates a new context with a different value.
ContextualController::create function core/modules/contextual/src/ContextualController.php Instantiates a new instance of this class.
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 @covers ::create[[api-linebreak]]
ControllerBaseTest::testCreateException function core/tests/Drupal/KernelTests/Core/Controller/ControllerBaseTest.php @covers ::create[[api-linebreak]]
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 Creates a ResourceType value object for the given entity type + bundle.
CountryCodeConstraint::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountryCodeConstraint.php Creates an instance of the plugin.
CreatedItem class core/lib/Drupal/Core/Field/Plugin/Field/FieldType/CreatedItem.php Defines the 'created' entity field type.
CreatedItem.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldType/CreatedItem.php
CreatedItem::applyDefaultValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/CreatedItem.php Applies the default value.
CreateForEachBundle class core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php Creates config entities for each bundle of a particular entity type.
CreateForEachBundle.php file core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php
CreateForEachBundle::apply function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php Applies the config action.
CreateForEachBundle::BUNDLE_PLACEHOLDER constant core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php The placeholder which is replaced with the ID of the current bundle.
CreateForEachBundle::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php Creates an instance of the plugin.
CreateForEachBundle::LABEL_PLACEHOLDER constant core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php The placeholder which is replaced with the label of the current bundle.
CreateForEachBundle::replacePlaceholders function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php Replaces placeholders recursively.
CreateForEachBundle::__construct function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php
CreateForEachBundleDeriver class core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/CreateForEachBundleDeriver.php Generates derivatives for the create_for_each_bundle config action.
CreateForEachBundleDeriver.php file core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/CreateForEachBundleDeriver.php
CreateForEachBundleDeriver::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/CreateForEachBundleDeriver.php Creates a new class instance.
CreateForEachBundleDeriver::getDerivativeDefinitions function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/CreateForEachBundleDeriver.php Gets the definition of all derivatives of a base plugin.
CreateForEachBundleDeriver::__construct function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/CreateForEachBundleDeriver.php
CreateMigrationsTrait trait core/modules/migrate_drupal/tests/src/Traits/CreateMigrationsTrait.php Test trait that provides instances of Drupal 6 and Drupal 7 migrations.
CreateMigrationsTrait.php file core/modules/migrate_drupal/tests/src/Traits/CreateMigrationsTrait.php
CreateMigrationsTrait::drupal6Migrations function core/modules/migrate_drupal/tests/src/Traits/CreateMigrationsTrait.php Create instances of all Drupal 6 migrations.
CreateMigrationsTrait::drupal7Migrations function core/modules/migrate_drupal/tests/src/Traits/CreateMigrationsTrait.php Create instances of all Drupal 7 migrations.

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