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
BookTestTrait::createBook function core/modules/book/tests/src/Functional/BookTestTrait.php Creates a new book with a page hierarchy.
BookTestTrait::createBookNode function core/modules/book/tests/src/Functional/BookTestTrait.php Creates a book node.
BreakLockForm::create function core/modules/views_ui/src/Form/BreakLockForm.php Instantiates a new instance of this class.
BreakLockLink::create function core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php Creates an instance of the plugin.
Broken::create function core/lib/Drupal/Core/Block/Plugin/Block/Broken.php Creates an instance of the plugin.
BrowserWithJavascriptTest::testCreateScreenshot function core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php Tests creating screenshots.
BubbleableMetadata::createFromObject function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object from a depended object.
BubbleableMetadata::createFromRenderArray function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object with values taken from a render array.
BubbleableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for createFromRenderArray().
BubbleableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::createFromRenderArray
@dataProvider providerTestCreateFromRenderArray
BulkForm::create function core/modules/views/src/Plugin/views/field/BulkForm.php Creates an instance of the plugin.
Bundle::create function core/modules/views/src/Plugin/views/filter/Bundle.php Creates an instance of the plugin.
BundleClassTest::testAmbiguousBundleClassExceptionCreate function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two bundles share the same bundle class.
CacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php Creates a configuration object for use during install and synchronization.
CacheableMetadata::createFromObject function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object from a depended object.
CacheableMetadata::createFromRenderArray function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object with values taken from a render array.
CacheableMetadataCalculationTest::create function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Creates an instance of the plugin.
CacheableMetadataTest::providerTestCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromObject().
CacheableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromRenderArray().
CacheableMetadataTest::testCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromObject
@dataProvider providerTestCreateFromObject
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray
@dataProvider providerTestCreateFromRenderArray
CacheCollector::$cacheCreated property core/lib/Drupal/Core/Cache/CacheCollector.php Stores the cache creation time.
CachedStorage::createCollection function core/lib/Drupal/Core/Config/CachedStorage.php Creates a collection on the storage.
CancelUser::create function core/modules/user/src/Plugin/Action/CancelUser.php Creates an instance of the plugin.
CategoryAutocompleteController::create function core/modules/block/src/Controller/CategoryAutocompleteController.php Instantiates a new instance of this class.
ChainedFastBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/ChainedFastBackendTest.php Creates a new instance of ChainedFastBackend.
ChainEntityResolverTest::createEntityResolverMock function core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php Creates a mock entity resolver.
ChangeUserRoleBase::create function core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php Creates an instance of the plugin.
ChooseBlockController::create function core/modules/layout_builder/src/Controller/ChooseBlockController.php Instantiates a new instance of this class.
ChooseSectionController::create function core/modules/layout_builder/src/Controller/ChooseSectionController.php Instantiates a new instance of this class.
CKEditor5::create function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Creates an instance of the plugin.
CKEditor5::createEphemeralPairedEditor function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Creates an ephemeral pair of text editor + text format config entity.
CKEditor5ImageController::create function core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Instantiates a new instance of this class.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php Instantiates a new instance of this class.
CKEditor5MediaController::create function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Instantiates a new instance of this class.
CKEditor5TestBase::createNewTextFormat function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php Create a new text format using CKEditor 5.
CKEditor::create function core/modules/ckeditor/src/Plugin/Editor/CKEditor.php Creates an instance of the plugin.
ClientFactoryTest::providerTestCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Data provider for testCreateFromOptions.
ClientFactoryTest::testCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php @covers ::fromOptions
@dataProvider providerTestCreateFromOptions
Color::create function core/modules/color/src/Plugin/migrate/destination/Color.php Creates an instance of the plugin.
Color::create function core/modules/color/src/Plugin/migrate/source/d7/Color.php Creates an instance of the plugin.
Comment::$createdColumn property core/modules/comment/src/Plugin/views/wizard/Comment.php Set the created column.
Comment::getCreatedTime function core/modules/comment/src/Entity/Comment.php Returns the time that the comment was created.
Comment::preCreate function core/modules/comment/src/Entity/Comment.php Changes the values of an entity before it is created.
Comment::setCreatedTime function core/modules/comment/src/Entity/Comment.php Sets the creation date of the comment.
CommentAccessControlHandler::checkCreateAccess function core/modules/comment/src/CommentAccessControlHandler.php Performs create access checks.
CommentAdminOverview::create function core/modules/comment/src/Form/CommentAdminOverview.php Instantiates a new instance of this class.
CommentCacheTagsTest::createEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Creates the entity to be tested.
CommentController::create function core/modules/comment/src/Controller/CommentController.php Instantiates a new instance of this class.
CommentDefaultFormatter::create function core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php Creates an instance of the plugin.

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