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
MediaSourceTest::createMediaTypeViaForm function core/modules/media/tests/src/Kernel/MediaSourceTest.php Creates a media type via form submit.
MediaSourceTestBase::createMediaTypeField function core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php Creates storage and field instance, attached to a given media type.
MediaSourceTestBase::createMediaTypeFields function core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php Create a set of fields in a media type.
MediaSourceTestBase::doTestCreateMediaType function core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php Tests generic media type creation.
MediaTest::createEntity function core/modules/jsonapi/tests/src/Functional/MediaTest.php Creates the entity to be tested.
MediaThumbnailFormatter::create function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Creates an instance of the plugin.
MediaType::shouldCreateNewRevision function core/modules/media/src/Entity/MediaType.php Gets whether a new revision should be created by default.
MediaTypeCreationTrait::createMediaType function core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php Create a media type for a source plugin.
MediaTypeDeleteConfirmForm::create function core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php Instantiates a new instance of this class.
MediaTypeForm::create function core/modules/media/src/MediaTypeForm.php Instantiates a new instance of this class.
MediaTypeResourceTestBase::createEntity function core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php Creates the entity to be tested.
MediaTypeTest::createEntity function core/modules/jsonapi/tests/src/Functional/MediaTypeTest.php Creates the entity to be tested.
MediaUiFunctionalTest::testMediaCreateRedirect function core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php Tests the redirect URL after creating a media item.
media_library_test_media_create_access function core/modules/media_library/tests/modules/media_library_test/media_library_test.module Implements hook_ENTITY_TYPE_create_access().
Memory::createItem function core/lib/Drupal/Core/Queue/Memory.php Adds a queue item and store it directly to the queue.
Memory::createQueue function core/lib/Drupal/Core/Queue/Memory.php Creates a queue.
MemoryBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/MemoryBackendTest.php Creates a new instance of MemoryBackend.
MemoryStorage::createCollection function core/lib/Drupal/Core/Config/MemoryStorage.php Creates a collection on the storage.
MenuDeleteForm::create function core/modules/menu_ui/src/Form/MenuDeleteForm.php Instantiates a new instance of this class.
MenuForm::create function core/modules/menu_ui/src/MenuForm.php Instantiates a new instance of this class.
MenuLinkAdd::create function core/modules/menu_ui/src/Plugin/Menu/LocalAction/MenuLinkAdd.php Creates an instance of the plugin.
MenuLinkContent::create function core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php Creates an instance of the plugin.
MenuLinkContent::preCreate function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Changes the values of an entity before it is created.
MenuLinkContentAccessControlHandler::createInstance function core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php Instantiates a new instance of this entity handler.
MenuLinkContentDeriver::create function core/modules/menu_link_content/src/Plugin/Deriver/MenuLinkContentDeriver.php Creates a new class instance.
MenuLinkContentForm::create function core/modules/menu_link_content/src/Form/MenuLinkContentForm.php Instantiates a new instance of this class.
MenuLinkContentResourceTestBase::createEntity function core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php Creates the entity to be tested.
MenuLinkContentTest::createEntity function core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php Creates the entity to be tested.
MenuLinkContentTranslationUITest::createEntity function core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php Creates the entity to be translated.
MenuLinkDefault::create function core/lib/Drupal/Core/Menu/MenuLinkDefault.php Creates an instance of the plugin.
MenuLinkDefaultForm::create function core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php Instantiates a new instance of this class.
MenuLinkEditForm::create function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Instantiates a new instance of this class.
MenuLinkListBuilder::createInstance function core/modules/menu_link_content/src/MenuLinkListBuilder.php Instantiates a new instance of this entity handler.
MenuLinkManager::createInstance function core/lib/Drupal/Core/Menu/MenuLinkManager.php Returns a pre-configured menu link plugin instance.
MenuLinkMock::create function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php Create an instance from a definition with at least id, title, route_name.
MenuLinkParent::create function core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php Creates an instance of the plugin.
MenuLinkResetForm::create function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Instantiates a new instance of this class.
MenuLinksetRoutes::create function core/modules/system/src/Routing/MenuLinksetRoutes.php Instantiates a new instance of this class.
MenuLinksetSettingsForm::create function core/modules/system/src/Form/MenuLinksetSettingsForm.php Instantiates a new instance of this class.
MenuLinksTest::createLinkHierarchy function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Create a simple hierarchy of links.
MenuLinksTest::testCreateLink function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Assert that a link entity's created timestamp is set.
MenuLinkTree::createInstances function core/lib/Drupal/Core/Menu/MenuLinkTree.php Returns a tree containing of MenuLinkTreeElement based upon tree data.
MenuLinkTreeTest::testCreateLinksInMenu function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php Tests creating links with an expected tree structure.
MenuResourceTestBase::createEntity function core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php Creates the entity to be tested.
MenuTest::createEntity function core/modules/jsonapi/tests/src/Functional/MenuTest.php Creates the entity to be tested.
MenuTestController::create function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Instantiates a new instance of the implementing class using autowiring.
MenuTreeHierarchyConstraintValidator::create function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Instantiates a new instance of this class.
MessageAction::create function core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php Creates an instance of the plugin.
MessageForm::create function core/modules/migrate/src/Form/MessageForm.php Instantiates a new instance of this class.
MessageForm::create function core/modules/contact/src/MessageForm.php Instantiates a new instance of this class.

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