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
NodeType::shouldCreateNewRevision function core/modules/node/src/Entity/NodeType.php Gets whether a new revision should be created by default.
NodeTypeForm::create function core/modules/node/src/Form/NodeTypeForm.php
NodeTypeResourceTestBase::createEntity function core/modules/node/tests/src/Functional/Rest/NodeTypeResourceTestBase.php Creates the entity to be tested.
NodeTypeTest::createEntity function core/modules/jsonapi/tests/src/Functional/NodeTypeTest.php Creates the entity to be tested.
NodeViewController::create function core/modules/node/src/Controller/NodeViewController.php Instantiates a new instance of this class.
NodeViewsData::createInstance function core/modules/node/src/NodeViewsData.php Instantiates a new instance of this entity handler.
node_post_update_create_promote_base_field_overrides function core/modules/node/node.post_update.php Creates base field override config for the promote base field on node types.
NullStorage::createCollection function core/lib/Drupal/Core/Config/NullStorage.php
NumericArgumentTitleTest::createNumericArgument function core/modules/views/tests/src/Unit/Plugin/argument/NumericArgumentTitleTest.php Creates a NumericArgument instance for testing.
NumericFormatPluralTest::createFile function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Creates and saves a test file.
OEmbed::create function core/modules/media/src/Plugin/media/Source/OEmbed.php Instantiates a new instance of the implementing class using autowiring.
OEmbed::createSourceField function core/modules/media/src/Plugin/media/Source/OEmbed.php Creates the source field definition for a type.
OEmbedForm::create function core/modules/media_library/src/Form/OEmbedForm.php Instantiates a new instance of the implementing class using autowiring.
OEmbedIframeController::create function core/modules/media/src/Controller/OEmbedIframeController.php Instantiates a new instance of this class.
OEmbedResourceConstraintValidator::create function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Instantiates a new instance of this class.
OffsetPage::createFromQueryParameter function core/modules/jsonapi/src/Query/OffsetPage.php Creates an OffsetPage object from a query parameter.
OffsetPageTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php Tests create from query parameter.
OffsetPageTest::testCreateFromQueryParameterFail function core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php Tests create from query parameter fail.
OliveroHooks::preprocessFieldNodeCreated function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_preprocess_HOOK().
OperationFactory::create function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates a scaffolding operation object as determined by the metadata.
OperationFactory::createAppendOp function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates an 'append' (or 'prepend') scaffold op.
OperationFactory::createReplaceOp function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates a 'replace' scaffold op.
OptionsFieldUIAllowedValuesTest::createOptionsField function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Helper function to create list field of a given type.
OptionsFieldUITest::createOptionsField function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUITest.php Helper function to create list field of a given type.
OptionsFieldUITest::createOptionsField function core/modules/options/tests/src/Functional/OptionsFieldUITest.php Helper function to create list field of a given type.
OverrideMenuLinks::create function core/lib/Drupal/Core/Menu/Plugin/ConfigAction/OverrideMenuLinks.php
OverridesEntityForm::create function core/modules/layout_builder/src/Form/OverridesEntityForm.php Instantiates a new instance of the implementing class using autowiring.
OverviewTerms::create function core/modules/taxonomy/src/Form/OverviewTerms.php Instantiates a new instance of the implementing class using autowiring.
PackageManagerFixtureCreator::createFixture function core/scripts/PackageManagerFixtureCreator.php Creates the fixture.
PackageManagerKernelTestBase::createStage function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Creates a stage object for testing purposes.
PackageManagerKernelTestBase::createTestProject function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Creates a test project.
Page::create function core/modules/views/src/Plugin/views/display/Page.php Instantiates a new instance of the implementing class using autowiring.
PageActions::create function core/modules/navigation/src/Plugin/TopBarItem/PageActions.php
PageContext::create function core/modules/navigation/src/Plugin/TopBarItem/PageContext.php
PagerManager::createPager function core/lib/Drupal/Core/Pager/PagerManager.php
PagerManagerInterface::createPager function core/lib/Drupal/Core/Pager/PagerManagerInterface.php Initializes a pager.
PagerTest::createTranslation function core/modules/views/tests/src/Functional/Plugin/PagerTest.php Creates single translation for source string.
PagerTest::createViewAtPath function core/modules/views/tests/src/Functional/Wizard/PagerTest.php Create a simple View of nodes at a given path.
PathAliasConstraintValidator::create function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Instantiates a new instance of this class.
PathAliasListBuilder::createInstance function core/modules/path/src/PathAliasListBuilder.php Instantiates a new instance of this entity handler.
PathAliasResourceTestBase::$firstCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the first created entity in doTestPost().
PathAliasResourceTestBase::$secondCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the second created entity in doTestPost().
PathAliasResourceTestBase::createEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Creates the entity to be tested.
PathAliasStorage::createWithSampleValues function core/modules/path_alias/src/PathAliasStorage.php Creates an entity with sample field values.
PathAliasTest::createEntity function core/modules/jsonapi/tests/src/Functional/PathAliasTest.php Creates the entity to be tested.
PathAliasTestTrait::createPathAlias function core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Creates a new path alias.
PathHooks::entityTranslationCreate function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_translation_create().
PerformanceForm::create function core/modules/system/src/Form/PerformanceForm.php Instantiates a new instance of the implementing class using autowiring.
PermissionsPerBundle::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php
PermissionsPerBundleDeriver::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php

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