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
AggregatorTestBase::createFeed function core/modules/aggregator/src/Tests/AggregatorTestBase.php Creates an aggregator feed.
AggregatorTestBase::createSampleNodes function core/modules/aggregator/src/Tests/AggregatorTestBase.php Creates sample article nodes.
BlockContentTestBase::$autoCreateBasicBlockType property core/modules/block_content/src/Tests/BlockContentTestBase.php Whether or not to auto-create the basic block type during setup.
BlockContentTestBase::createBlockContent function core/modules/block_content/src/Tests/BlockContentTestBase.php Creates a custom block.
BlockContentTestBase::createBlockContent function core/modules/block_content/src/Tests/Views/BlockContentTestBase.php Creates a custom block.
BlockContentTestBase::createBlockContentType function core/modules/block_content/src/Tests/BlockContentTestBase.php Creates a custom block type (bundle).
BlockContentTestBase::createBlockContentType function core/modules/block_content/src/Tests/Views/BlockContentTestBase.php Creates a custom block type (bundle).
CommentLegacyTest::createComment function core/modules/comment/tests/src/Kernel/CommentLegacyTest.php Constructs comment entity.
CommentTestBase::createCommentType function core/modules/comment/src/Tests/CommentTestBase.php Creates a comment comment type (bundle).
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php @covers ::createConnectionOptionsFromUrl[[api-linebreak]]
@dataProvider providerCreateConnectionOptionsFromUrl
ContentTranslationTestBase::createEntity function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Creates the entity to be translated.
CreateHalSettingsForLinkDomainUpdateTest class core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php Tests that 'hal.settings' is created, to store 'link_domain'.
CreateHalSettingsForLinkDomainUpdateTest.php file core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php
CreateHalSettingsForLinkDomainUpdateTest::setDatabaseDumpFiles function core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php Set database dump files to be used.
CreateHalSettingsForLinkDomainUpdateTest::testHalSettingsCreated function core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php Tests hal_update_8301().
DatabaseLegacyTest::testDbCreateTable function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_create_table() function.
DateTestBase::createField function core/modules/datetime/src/Tests/DateTestBase.php Creates a date test field.
db_create_table function core/includes/database.inc Creates a new table from a Drupal table definition.
DrupalMedia::create function core/modules/media/src/Plugin/CKEditorPlugin/DrupalMedia.php Creates an instance of the plugin.
DrupalMediaLibrary::create function core/modules/media_library/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php Creates an instance of the plugin.
drupal_xml_parser_create function core/includes/unicode.inc Prepares a new XML parser.
EntityCacheTagsTestBase::createCacheId function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Creates a cache ID from a list of cache keys and a set of cache contexts.
EntityCacheTagsTestBase::createEntity function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Creates the entity to be tested.
EntityCacheTagsTestBase::createReferenceTestEntities function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Creates a referencing and a non-referencing entity for testing purposes.
EntityFieldStorageConfig::create function core/modules/migrate_drupal/src/Plugin/migrate/destination/EntityFieldStorageConfig.php Creates an instance of the plugin.
EntityLegacyTest::testEntityCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php Tests deprecation of the entity_create() function.
EntityManager::createHandlerInstance function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::createInstance function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::onBundleCreate function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::onEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityManager.php Reacts to the creation of the entity type.
EntityManager::onFieldableEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::onFieldDefinitionCreate function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::onFieldStorageDefinitionCreate function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testCreateHandlerInstance function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::createHandlerInstance[[api-linebreak]]
EntityManagerTest::testCreateInstance function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the createInstance() method.
EntityTestHalJsonInternalPropertyNormalizerTest::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Hal/EntityTestHalJsonInternalPropertyNormalizerTest.php Creates the entity to be tested.
EntityUnitTestBase::createUser function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Creates a user.
entity_create function core/includes/entity.inc Constructs a new entity object, without permanently saving it.
EnvironmentCleanerFactory::createCleaner function core/modules/simpletest/src/EnvironmentCleanerFactory.php Factory method to create the environment cleaner service.
FeedTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/FeedTest.php Creates another entity to be tested.
FeedTest::createEntity function core/modules/jsonapi/tests/src/Functional/FeedTest.php Creates the entity to be tested.
field.field.node.article.field_ref_autocreate_2412569.yml file core/modules/field/tests/fixtures/update/field.field.node.article.field_ref_autocreate_2412569.yml core/modules/field/tests/fixtures/update/field.field.node.article.field_ref_autocreate_2412569.yml
field.storage.node.field_ref_autocreate_2412569.yml file core/modules/field/tests/fixtures/update/field.storage.node.field_ref_autocreate_2412569.yml core/modules/field/tests/fixtures/update/field.storage.node.field_ref_autocreate_2412569.yml
FileFieldTestBase::createFileField function core/modules/file/src/Tests/FileFieldTestBase.php Creates a new file field.
FileManagedTestBase::createFile function core/modules/file/src/Tests/FileManagedTestBase.php Create a file and save it to the files table and assert that it occurs
correctly.
FileManagedTestBase::createUri function core/modules/file/src/Tests/FileManagedTestBase.php Creates a file and returns its URI.
GenericCacheBackendUnitTestBase::createCacheBackend function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Creates a cache backend to test.
InstallerCustomConfigDirectoryCreateTest class core/tests/Drupal/FunctionalTests/Installer/InstallerCustomConfigDirectoryCreateTest.php Tests the installer when a custom config_directory set up but does not exist.
InstallerCustomConfigDirectoryCreateTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerCustomConfigDirectoryCreateTest.php

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