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
LayoutBuilderEntityViewDisplayTest::createEntity function core/modules/layout_builder/tests/src/Functional/Jsonapi/LayoutBuilderEntityViewDisplayTest.php Creates the entity to be tested.
LayoutBuilderHooks::entityTranslationCreate function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_entity_translation_create().
LayoutBuilderLocalTaskDeriver::create function core/modules/layout_builder/src/Plugin/Derivative/LayoutBuilderLocalTaskDeriver.php Creates a new class instance.
LayoutBuilderOverridesPermissions::create function core/modules/layout_builder/src/LayoutBuilderOverridesPermissions.php Instantiates a new instance of this class.
LayoutForm::create function core/modules/navigation/src/Form/LayoutForm.php Instantiates a new instance of this class.
LayoutPluginManagerInterface::createInstance function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
LayoutRebuildConfirmFormBase::create function core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php Instantiates a new instance of this class.
LayoutSectionTest::createSectionNode function core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php Creates a node with a section field.
Link::createFromRoute function core/lib/Drupal/Core/Link.php Creates a Link object from a given route name and parameters.
LinkAccessConstraintValidator::create function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Instantiates a new instance of this class.
LinkBase::create function core/modules/views/src/Plugin/views/field/LinkBase.php Creates an instance of the plugin.
LinkFormatter::create function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Creates an instance of the plugin.
Links::create function core/modules/views/src/Plugin/views/field/Links.php Creates an instance of the plugin.
LinksetController::create function core/modules/system/src/Controller/LinksetController.php Instantiates a new instance of the implementing class using autowiring.
LinksetControllerTestBase::createMenuItem function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Creates, saves, and returns a new menu link content entity.
LinkUri::create function core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Creates an instance of the plugin.
ListDataDefinition::create function core/lib/Drupal/Core/TypedData/ListDataDefinition.php Creates a new list definition.
ListDataDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/ListDataDefinition.php Creates a new data definition object.
ListDataDefinition::createFromItemType function core/lib/Drupal/Core/TypedData/ListDataDefinition.php Creates a new list data definition for items of the given data type.
ListDataDefinitionInterface::createFromItemType function core/lib/Drupal/Core/TypedData/ListDataDefinitionInterface.php Creates a new list data definition for items of the given data type.
ListElement::create function core/modules/config_translation/src/FormElement/ListElement.php Creates a form element instance from a schema definition.
ListingEmpty::create function core/modules/block_content/src/Plugin/views/area/ListingEmpty.php Creates an instance of the plugin.
ListingEmpty::create function core/modules/node/src/Plugin/views/area/ListingEmpty.php Creates an instance of the plugin.
Local::createDirectoryJailed function core/lib/Drupal/Core/FileTransfer/Local.php Creates a directory.
LocalActionDefault::create function core/lib/Drupal/Core/Menu/LocalActionDefault.php Creates an instance of the plugin.
LocalActionsBlock::create function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php Creates an instance of the plugin.
LocaleConfigSubscriberForeignTest::testCreateActiveTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php Tests creating translations of shipped configuration.
LocaleConfigSubscriberForeignTest::testLocaleCreateActiveTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php Tests importing community translations of shipped configuration.
LocaleConfigSubscriberTest::testCreateTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Tests creating translations of shipped configuration.
LocaleConfigSubscriberTest::testCreateTranslationMultiValue function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Tests creating translations configuration with multi value settings.
LocaleConfigSubscriberTest::testLocaleCreateTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Tests importing community translations of shipped configuration.
LocaleImportFunctionalTest::testCreatedLanguageTranslation function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests the translation are imported when a new language is created.
LocaleStringTest::createAllTranslations function core/modules/locale/tests/src/Kernel/LocaleStringTest.php Creates translations for source string and all languages.
LocaleStringTest::createTranslation function core/modules/locale/tests/src/Kernel/LocaleStringTest.php Creates single translation for source string.
LocaleTranslation::create function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Creates an instance of the plugin.
locale_translate_file_create function core/modules/locale/locale.bulk.inc Creates a file object and populates the timestamp property.
LocalTasksBlock::create function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php Creates an instance of the plugin.
LockFileValidatorTest::testCreateWithLock function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests that if an active lock file exists, a stage can be created.
LockFileValidatorTest::testCreateWithNoLock function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests that if no active lock file exists, a stage cannot be created.
LoginLogoutMenuLink::create function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php Creates an instance of the plugin.
LonelyMonkeyController::create function core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php Instantiates a new instance of the implementing class using autowiring.
MachineName::create function core/modules/migrate/src/Plugin/migrate/process/MachineName.php Creates an instance of the plugin.
MakeUniqueEntityField::create function core/modules/migrate/src/Plugin/migrate/process/MakeUniqueEntityField.php Creates an instance of the plugin.
ManagedStorage::createCollection function core/lib/Drupal/Core/Config/ManagedStorage.php Creates a collection on the storage.
ManageFieldsLifecycleTest::createField function core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php Tests adding a new field.
ManageGitIgnoreTest::createSutWithGit function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php Creates a system-under-test and initialize a git repository for it.
MapDataDefinition::create function core/lib/Drupal/Core/TypedData/MapDataDefinition.php Creates a new map definition.
MapDataDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/MapDataDefinition.php Creates a new data definition object.
MarkupTrait::create function core/lib/Drupal/Component/Render/MarkupTrait.php Creates a Markup object if necessary.
MatcherDumperTest::testCreate function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirms that the dumper can be instantiated successfully.

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