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
SecurityAdvisoryTest::testCreateFromArrayMissingField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests exceptions with missing fields.
SelectionWithAutocreateInterface interface core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php Interface for Selection plugins that support newly created entities.
SelectionWithAutocreateInterface.php file core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php
SelectionWithAutocreateInterface::createNewEntity function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php Creates a new entity object that can be used as a valid reference.
SelectionWithAutocreateInterface::validateReferenceableNewEntities function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php Validates which newly created entities can be referenced.
Serializer::create function core/modules/rest/src/Plugin/views/style/Serializer.php Creates an instance of the plugin.
SessionConfigurationTest::createSessionConfiguration function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Constructs a partially mocked SUT.
SetProperties::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/SetProperties.php Creates an instance of the plugin.
SettingsForm::create function core/modules/navigation/src/Form/SettingsForm.php Instantiates a new instance of this class.
ShortcutAccessControlHandler::checkCreateAccess function core/modules/shortcut/src/ShortcutAccessControlHandler.php Performs create access checks.
ShortcutAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutAccessControlHandler.php Instantiates a new instance of this entity handler.
ShortcutCacheTagsTest::createEntity function core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php Creates the entity to be tested.
ShortcutCacheTagsTest::createShortcutEntity function core/modules/shortcut/tests/src/Kernel/ShortcutCacheTagsTest.php Creates a shortcut entity in the default shortcut set.
ShortcutResourceTestBase::createEntity function core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php Creates the entity to be tested.
ShortcutSetAccessControlHandler::checkCreateAccess function core/modules/shortcut/src/ShortcutSetAccessControlHandler.php Performs create access checks.
ShortcutSetAccessControlHandler::createInstance function core/modules/shortcut/src/ShortcutSetAccessControlHandler.php Instantiates a new instance of this entity handler.
ShortcutSetDeleteForm::create function core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php Instantiates a new instance of this class.
ShortcutSetResourceTestBase::createEntity function core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php Creates the entity to be tested.
ShortcutSetsTest::testShortcutSetCreateWithSetName function core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php Tests creating a new shortcut set with a defined set name.
ShortcutSetsTest::testShortcutSetSwitchCreate function core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php Tests switching a user's shortcut set and creating one at the same time.
ShortcutSetStorage::createInstance function core/modules/shortcut/src/ShortcutSetStorage.php Instantiates a new instance of this entity handler.
ShortcutSetTest::createEntity function core/modules/jsonapi/tests/src/Functional/ShortcutSetTest.php Creates the entity to be tested.
ShortcutSetUsers::create function core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php Creates an instance of the plugin.
ShortcutTest::createEntity function core/modules/jsonapi/tests/src/Functional/ShortcutTest.php Creates the entity to be tested.
ShortcutTranslationUITest::createEntity function core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php Creates the entity to be translated.
SimpleConfigSectionStorage::create function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Creates an instance of the plugin.
SimpleConfigUpdate::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/SimpleConfigUpdate.php Creates an instance of the plugin.
SimpletestTestRunResultsStorage::createNew function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Gets a new unique identifier for a test run.
SiteConfigureForm::create function core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php Instantiates a new instance of this class.
SiteInformationForm::create function core/modules/system/src/Form/SiteInformationForm.php Instantiates a new instance of this class.
SiteMaintenanceModeForm::create function core/modules/system/src/Form/SiteMaintenanceModeForm.php Instantiates a new instance of this class.
SiteSettingsForm::create function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Instantiates a new instance of this class.
SiteSettingsForm::createRandomConfigDirectory function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Create a random config sync directory.
Sort::createFromQueryParameter function core/modules/jsonapi/src/Query/Sort.php Creates a Sort object from a query parameter.
SortTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @covers ::createFromQueryParameter
@dataProvider parameterProvider
SortTest::testCreateFromQueryParameterFail function core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @covers ::createFromQueryParameter
@dataProvider badParameterProvider
SpaceUsedTest::createFileWithSize function core/modules/file/tests/src/Kernel/SpaceUsedTest.php Creates a file with a given size.
Sql::create function core/modules/views/src/Plugin/views/query/Sql.php Creates an instance of the plugin.
Sql::create function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Creates an instance of the plugin.
SqlBase::create function core/modules/views/src/Plugin/views/pager/SqlBase.php Creates an instance of the plugin.
SqlBase::create function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Creates an instance of the plugin.
SqlContentEntityStorage::createInstance function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Instantiates a new instance of this entity handler.
SqlContentEntityStorage::onBundleCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Reacts to a bundle being created.
SqlContentEntityStorage::onEntityTypeCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Reacts to the creation of the entity type.
SqlContentEntityStorage::onFieldableEntityTypeCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Reacts to the creation of the fieldable entity type.
SqlContentEntityStorage::onFieldStorageDefinitionCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Reacts to the creation of a field storage definition.
SqlContentEntityStorageSchema::createDedicatedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates the schema for a field stored in a dedicated table.
SqlContentEntityStorageSchema::createEntitySchemaIndexes function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates the specified entity schema indexes and keys.
SqlContentEntityStorageSchema::createSharedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates the schema for a field stored in a shared table.
SqlContentEntityStorageSchema::onEntityTypeCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Reacts to the creation of the entity type.

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