Search for generate

  1. Search 7.x for generate
  2. Search 8.9.x for generate
  3. Search 10.3.x for generate
  4. Search 11.x for generate
  5. Other projects
Title Object type File name Summary
AbstractOperation::generateContents function composer/Plugin/Scaffold/Operations/AbstractOperation.php Load the scaffold contents or otherwise generate what is needed.
AccessAwareRouter::generate function core/lib/Drupal/Core/Routing/AccessAwareRouter.php
AjaxCssForm::generateResponse function core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php Generates an AJAX response to add CSS to a CKEditor Text Editor instance.
AppendOp::generateContents function composer/Plugin/Scaffold/Operations/AppendOp.php Load the scaffold contents or otherwise generate what is needed.
BigPipeStrategy::generateBigPipePlaceholderId function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Generates a BigPipe placeholder ID.
BookTestTrait::generateOutlinePattern function core/modules/book/tests/src/Functional/BookTestTrait.php Creates a regular expression to check for the sub-nodes in the outline.
BooleanItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php Generates placeholder field values.
BundlePermissionHandlerTrait::generatePermissions function core/lib/Drupal/Core/Entity/BundlePermissionHandlerTrait.php Builds a permissions array for the supplied bundles.
BundlePermissionHandlerTraitTest::testGeneratePermissions function core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php @covers ::generatePermissions
CachePluginBase::generateResultsKey function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Calculates and sets a cache ID used for the result cache.
CKEditor5::getGeneratedAllowedHtmlValue function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Value callback to set the CKEditor 5-generated "allowed_html" value.
CKEditor5ImageController::generateLockIdFromFileUri function core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Generates a lock ID based on the file URI.
Com::generate function core/lib/Drupal/Component/Uuid/Com.php Generates a Universally Unique IDentifier (UUID).
CommentItem::generateSampleValue function core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php Generates placeholder field values.
ComponentGenerator::generate function composer/Generator/ComponentGenerator.php Reconcile Drupal's components whenever composer.lock is updated.
ComponentGenerator::generateComponentPackage function composer/Generator/ComponentGenerator.php Generate the component JSON files.
Composer::generateComponentPackages function composer/Composer.php Update component packages whenever composer.lock is updated.
Composer::generateMetapackages function composer/Composer.php Update metapackages whenever composer.lock is updated.
Connection::generateTemporaryTableName function core/lib/Drupal/Core/Database/Connection.php Generates a temporary table name.
ContainerInterface::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Generate a unique hash for a service object.
CsrfTokenGeneratorTest::testGenerateSeedOnGet function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests that a new token seed is generated upon first use.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
D6NodeTranslation::generateFollowUpMigrations function core/modules/node/src/Plugin/migrate/D6NodeTranslation.php Generates follow-up migrations.
D7NodeTranslation::generateFollowUpMigrations function core/modules/node/src/Plugin/migrate/D7NodeTranslation.php Generates follow-up migrations.
DateRangeItem::generateSampleValue function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Generates placeholder field values.
DateTimeItem::generateSampleValue function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Generates placeholder field values.
DbDumpCommand::generateScript function core/lib/Drupal/Core/Command/DbDumpCommand.php Generates the database script.
DecimalItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php Generates placeholder field values.
DefaultMenuLinkTreeManipulators::generateIndexAndSort function core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php Generates a unique index and sorts by it.
DefaultMenuLinkTreeManipulatorsTest::testGenerateIndexAndSort function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the generateIndexAndSort() tree manipulator.
DefaultPasswordGenerator::generate function core/lib/Drupal/Core/Password/DefaultPasswordGenerator.php Generates a password.
DefaultPasswordGeneratorTest::testGenerate function core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php @covers ::generate
DefaultTableMapping::generateFieldTableName function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Generates a safe and unambiguous field table name.
DrupalKernel::generateServiceIdHash function core/lib/Drupal/Core/DrupalKernel.php Generate a unique hash for a service object.
drupal_generate_test_ua function core/includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for simpletest.
EmailItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php Generates placeholder field values.
EntityCacheTagsTestBase::generateStandardizedInfo function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Generates standardized entity cache tags test info.
EntityConfigBase::generateId function core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php Generates an entity ID.
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByGenerateBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedByGenerateBundledEntity().
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @covers ::isSatisfiedBy
@covers ::dataTypeMatches
@covers ::getSampleValues
@covers ::getConstraintObjects
EntityDecoupledTranslationRevisionsTest::generateNewEntityLabel function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Generates a new label for the specified revision.
EntityKernelTestBase::$generatedIds property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php A list of generated identifiers.
EntityKernelTestBase::generateRandomEntityId function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Generates a random ID avoiding collisions.
EntityReferenceItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Generates placeholder field values.
EntityReferenceItemTest::testGenerateSampleValue function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the ::generateSampleValue() method.
EntityReferenceItemTest::testGenerateSampleValueCircularReference function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the ::generateSampleValue() method when it has a circular reference.
EntityResource::generateFallbackAccessDeniedMessage function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Generates a fallback access denied message, when no specific reason is set.
EntityStorageBaseTest::generateEntityInterface function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Generate a mocked entity object.
ErrorTestController::generateFatals function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Generate fatals to test the error handler.
ErrorTestController::generateWarnings function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Generate warnings to test the error handler.

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