Search for create

  1. Search 7.x for create
  2. Search 8.9.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
MediaInterface::getCreatedTime function core/modules/media/src/MediaInterface.php Returns the media item creation timestamp.
MediaInterface::setCreatedTime function core/modules/media/src/MediaInterface.php Sets the media item creation timestamp.
MediaJavascriptTestBase::assertLinkToCreatedMedia function core/modules/media/tests/src/FunctionalJavascript/MediaJavascriptTestBase.php Asserts that a link to a new media item is displayed in the messages area.
MediaLibrary::create function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/MediaLibrary.php Creates an instance of the plugin.
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity creation permissions.
MediaLibraryState::create function core/modules/media_library/src/MediaLibraryState.php Creates a new MediaLibraryState object.
MediaLibraryStateTest::providerCreate function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Data provider for testCreate().
MediaLibraryStateTest::testCreate function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the media library state creation.
MediaLibraryTestBase::createMediaItems function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Create media items.
MediaLibraryWidget::create function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Creates an instance of the plugin.
MediaListBuilder::createInstance function core/modules/media/src/MediaListBuilder.php Instantiates a new instance of this entity handler.
MediaPermissions::create function core/modules/media/src/MediaPermissions.php Instantiates a new instance of this class.
MediaResourceTestBase::createEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Creates the entity to be tested.
MediaRevision::$createdColumn property core/modules/media/src/Plugin/views/wizard/MediaRevision.php Set the created column.
MediaRevisionTest::createMediaRevision function core/modules/media/tests/src/Functional/MediaRevisionTest.php Creates a new revision for a given media item.
MediaRouteProvider::createInstance function core/modules/media/src/Routing/MediaRouteProvider.php Instantiates a new instance of this entity handler.
MediaSelection::createNewEntity function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Creates a new entity object that can be used as a valid reference.
MediaSettingsForm::create function core/modules/media/src/Form/MediaSettingsForm.php Instantiates a new instance of this class.
MediaSourceBase::create function core/modules/media/src/MediaSourceBase.php Creates an instance of the plugin.
MediaSourceBase::createSourceField function core/modules/media/src/MediaSourceBase.php Creates the source field definition for a type.
MediaSourceBase::createSourceFieldStorage function core/modules/media/src/MediaSourceBase.php Creates the source field storage definition.
MediaSourceInterface::createSourceField function core/modules/media/src/MediaSourceInterface.php Creates the source field definition for a type.
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.
MenuController::create function core/modules/menu_ui/src/Controller/MenuController.php Instantiates a new instance of this class.
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.

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