Search for generate

  1. Search 7.x for generate
  2. Search 9.5.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.
CachePluginBase::generateResultsKey function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Calculates and sets a cache ID used for the result cache.
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.
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.
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.
DefaultTableMapping::generateFieldTableName function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Generates a safe and unambiguous field table name.
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.
EntityCacheTagsTestBase::generateStandardizedInfo function core/modules/system/src/Tests/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.
EntityUnitTestBase::$generatedIds property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php A list of generated identifiers.
EntityUnitTestBase::generateRandomEntityId function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Generates a random ID avoiding collisions.
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.
ExceptionHandlingTest::testExceptionResponseGeneratedForOriginalRequest function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests that the exception response is executed in the original context.
FakeLogEntries::generateLogEntries function core/modules/dblog/tests/src/Functional/FakeLogEntries.php Generates a number of random database log events.
FieldItemBase::generateSampleValue function core/lib/Drupal/Core/Field/FieldItemBase.php Generates placeholder field values.
FieldItemInterface::generateSampleValue function core/lib/Drupal/Core/Field/FieldItemInterface.php Generates placeholder field values.
FieldItemList::generateSampleItems function core/lib/Drupal/Core/Field/FieldItemList.php Populates a specified number of field items with valid sample data.
FieldItemListInterface::generateSampleItems function core/lib/Drupal/Core/Field/FieldItemListInterface.php Populates a specified number of field items with valid sample data.
FieldKernelTestBase::_generateTestFieldValues function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Generate random values for a field_test field.
FieldTestBase::_generateTestFieldValues function core/modules/field/tests/src/Functional/FieldTestBase.php Generate random values for a field_test field.
FieldTestBase::_generateTestFieldValues function core/modules/field/src/Tests/FieldTestBase.php Generate random values for a field_test field.

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