Search for generate

  1. Search 9.5.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
BookTestCase::generateOutlinePattern function modules/book/book.test Creates a regular expression to check for the sub-nodes in the outline.
DatabaseConnection::generateTemporaryTableName function includes/database/database.inc Generates a temporary table name.
DBLogTestCase::generateLogEntries function modules/dblog/dblog.test Generates a number of random database log events.
DrupalTestCase::generatePermutations function modules/simpletest/drupal_web_test_case.php Converts a list of possible parameters into a stack of permutations.
DrupalWebTestCase::$generatedTestFiles property modules/simpletest/drupal_web_test_case.php Whether the files were copied to the test files directory.
drupal_generate_test_ua function includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for simpletest.
drupal_session_regenerate function includes/session.inc Called when an anonymous user becomes authenticated or vice-versa.
error_test_generate_warnings function modules/simpletest/tests/error_test.module Menu callback; generate warnings to test the error handler.
FieldBulkDeleteTestCase::_generateStubEntities function modules/field/tests/field.test Convenience function for Field API tests.
FieldTestCase::_generateTestFieldValues function modules/field/tests/field.test Generate random values for a field_test field.
ForumTestCase::generateForumTopics function modules/forum/forum.test Generates forum topics to test the display of an active forum block.
generate-d6-content.sh file scripts/generate-d6-content.sh #!/usr/bin/env php
<?php

/**
* Generate content for a Drupal 6 database to test the upgrade process.
*
* Run this script at the root of an existing Drupal 6 installation.
* Steps to use this generation script:
* - Install drupal 6.
* - Run…
generate-d7-content.sh file scripts/generate-d7-content.sh Generates content for a Drupal 7 database to test the upgrade process.
PollTestCase::_generateChoices function modules/poll/poll.test
PollTestCase::_pollGenerateEdit function modules/poll/poll.test Generates POST values for the poll node form, specifically poll choices.
SessionTestCase::testSessionSaveRegenerate function modules/simpletest/tests/session.test Tests for drupal_save_session() and drupal_session_regenerate().
ShortcutTestCase::generateShortcutLink function modules/shortcut/shortcut.test Creates a generic shortcut link.
ShortcutTestCase::generateShortcutSet function modules/shortcut/shortcut.test Creates a generic shortcut set.
simpletest_generate_file function modules/simpletest/simpletest.module Generate test file.
token_generate function includes/token.inc Generates replacement values for a list of tokens.
TriggerActionTestCase::generateMessageWithTokens function modules/trigger/trigger.test Creates a message with tokens.
TriggerActionTestCase::generateTokenExpandedComparison function modules/trigger/trigger.test Generates a comparison message to match the pre-token-replaced message.
UserPasswordResetTestCase::generateResetURL function modules/user/user.test Generates login link.
_drupal_session_regenerate_existing function includes/session.inc Regenerates an existing session.
_locale_export_po_generate function includes/locale.inc Generates the PO(T) file contents for given strings.
_password_generate_salt function includes/password.inc Generates a random base 64-encoded salt prefixed with settings for the hash.
_user_cancel_session_regenerate function modules/user/user.module Implements callback_batch_finished().

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