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 11.x for create
  5. Other projects
Title Object type File name Summary
AccessCheck::create function core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php Instantiates a new instance of this class.
AccessibleTestingTrait::createAccessibleDouble function core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php Creates AccessibleInterface object from access result object for testing.
AccessTest::testCreateAccess function core/modules/file/tests/src/Kernel/AccessTest.php Tests create access is always denied even for user 1.
access_check.entity_create service core/core.services.yml Drupal\Core\Entity\EntityCreateAccessCheck
access_check.entity_create_any service core/core.services.yml Drupal\Core\Entity\EntityCreateAnyAccessCheck
AccountForm::create function core/modules/user/src/AccountForm.php Instantiates a new instance of this class.
AccountSettingsForm::create function core/modules/user/src/AccountSettingsForm.php Instantiates a new instance of this class.
Action::create function core/modules/system/src/Entity/Action.php Constructs a new entity object, without permanently saving it.
ActionAdminManageForm::create function core/modules/action/src/Form/ActionAdminManageForm.php Instantiates a new instance of this class.
ActionFormBase::create function core/modules/action/src/Form/ActionFormBase.php Instantiates a new instance of this class.
ActionListBuilder::createInstance function core/modules/action/src/ActionListBuilder.php Instantiates a new instance of this entity handler.
ActionListTest::testNonConfigurableActionsCanBeCreated function core/modules/action/tests/src/Functional/ActionListTest.php Tests that non-configurable actions can be created by the UI.
ActionResourceTestBase::createEntity function core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php Creates the entity to be tested.
ActionResourceTestBase::createEntity function core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php Creates the entity to be tested.
ActionTest::createEntity function core/modules/jsonapi/tests/src/Functional/ActionTest.php Creates the entity to be tested.
ActionTest::createEntity function core/modules/action/tests/src/Functional/Jsonapi/ActionTest.php Creates the entity to be tested.
AddFormBase::create function core/modules/media_library/src/Form/AddFormBase.php Instantiates a new instance of this class.
AddFormBase::createMediaFromValue function core/modules/media_library/src/Form/AddFormBase.php Creates a new, unsaved media item from a source field value.
AddItemToToolbar::create function core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php Creates an instance of the plugin.
AddModeration::create function core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php Creates an instance of the plugin.
AddModerationConfigActionTest::createRecipe function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
AddModerationDeriver::create function core/modules/content_moderation/src/Plugin/ConfigAction/AddModerationDeriver.php Creates a new class instance.
AddSectionController::create function core/modules/layout_builder/src/Controller/AddSectionController.php Instantiates a new instance of this class.
AddToAllBundles::create function core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php Creates an instance of the plugin.
AdminController::create function core/modules/system/src/Controller/AdminController.php Instantiates a new instance of the implementing class using autowiring.
AjaxFormBlock::create function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Creates an instance of the plugin.
AllowedValuesConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Instantiates a new instance of this class.
AnnounceBlock::create function core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Creates an instance of the plugin.
ApcuBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/ApcuBackendTest.php Creates a cache backend to test.
ArchiverManager::createInstance function core/lib/Drupal/Core/Archiver/ArchiverManager.php
ArgumentDateTest::testCreatedFullDateHandler function core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php Tests the CreatedFullDate handler.
ArgumentSummaryTest::createTag function core/modules/views/tests/src/Kernel/Handler/ArgumentSummaryTest.php Creates a term in the tag vocabulary.
ArrayElement::createElement function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Creates a contained typed configuration object.
AssetRoutes::create function core/modules/system/src/Routing/AssetRoutes.php Instantiates a new instance of this class.
AssignOwnerNode::create function core/modules/action/src/Plugin/Action/AssignOwnerNode.php Creates an instance of the plugin.
AttachedAssets::createFromRenderArray function core/lib/Drupal/Core/Asset/AttachedAssets.php Creates an AttachedAssetsInterface object from a render array.
AttachedAssetsInterface::createFromRenderArray function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Creates an AttachedAssetsInterface object from a render array.
Attribute::createAttributeValue function core/lib/Drupal/Core/Template/Attribute.php Creates the different types of attribute values.
AudioFile::createSourceField function core/modules/media/src/Plugin/media/Source/AudioFile.php Creates the source field definition for a type.
AutowireTrait::create function core/lib/Drupal/Core/DependencyInjection/AutowireTrait.php Instantiates a new instance of the implementing class using autowiring.
BackendChainTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/BackendChainTest.php Creates a cache backend to test.
BanAdmin::create function core/modules/ban/src/Form/BanAdmin.php Instantiates a new instance of this class.
BanDelete::create function core/modules/ban/src/Form/BanDelete.php Instantiates a new instance of this class.
BaseFieldDefinition::create function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition.
BaseFieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition based upon a field storage definition.
BaseFieldDefinition::createFromItemType function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new list data definition for items of the given data type.
BaseFieldDefinitionTest::create function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php Creates a new field definition.
BaseFieldFileFormatterBase::create function core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php Creates an instance of the plugin.
BaseFieldOverride::createFromBaseFieldDefinition function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php Creates a base field override object.
BaseFieldOverrideResourceTestBase::createEntity function core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php Creates the entity to be tested.

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